cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kbarber
Advocate II
Advocate II

Height of datacards in SP List Custom Form

Hello,

Quite new to PowerApps - I've looked around for an answer and haven't found it, hence the post.

I'm trying to create a simple customized form from a single SharePoint List. Well, the data cards are comically large but for some reason I can't adjust their height property.  I've unlocked each card and have tried changing the height value, but the changes are not reflected...what am I missing? Thanks in advance...

2017-12-20_09h27_35.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @karthi & @v-monli-msft,

I discovered a straight-forward way to shrink the datacard height inside a SP Custom Form.  

Within each datacard are a number of controls.  Each of the controls can be resized and/or moved to "make room" for a downsizing of the datacard height property. The Errormessage control was the main culprit in preventing a reduction in height of the corresponding datacard. Once I moved and resized everything, I could decrease the datacard height.  So, the datacard height is contingent on the height and locations of the controls it contains, which makes sense...

  2018-01-08_16h10_48.png

View solution in original post

12 REPLIES 12
v-monli-msft
Community Support
Community Support

Hi @kbarber,

 

What is the layout of your app? A phone layout or tablet layout? I have just tried both, and both data cards of EditForm and DisplayForm are able to change the height whether by dragging with mouse or changing the formula of Height property.

1.png2.png

 

Please try to change the Height property of data cards to test if this works.

Capture.PNG

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reply @v-monli-msft.

In case you're using the word "app" in the technical sense, I must remind you that I am working on a customized form from a SharePoint list - maybe this matters, I don't know...

2017-12-21_08h08_33customform.png

 

I have already tried adjusting the Height property value for all of the datacards within the form, but it seems there is minimum value that I cannot surpass. I can make the cards bigger, but not smaller (to a point).  Here is the Height property set at 182:

2017-12-21_08h03_23182.png

 

And adjusted to 120, but no change is reflected on the screen:

2017-12-21_08h04_23120.png

 

Again, I can increase the size...here is 320:

2017-12-21_08h14_29321.png

 

When opening the form from the Sharepoint list, the datacards appear unnecessarily tall, and scrolling is required when only 4 values are required for the user to fill out.  So, obviously, I'd like to shrink things down a bit.

 

thanks again,

- Kurt

@v-monli-msft,

I just got an email asking if my issue has been resolved - I still don't know why I am unable to shrink the datacards on my customized form any smaller than the default height values upon creation of the form.  As you can see in the screenshots above, editing the height property values only works when increasing the height, but not when decreasing, unfortunately.

Thank you,

- Kurt

Hi @v-monli-msft Michael,

 

Im also facing the same issue in Sharepoint Customize form.

Hello @karthi & @v-monli-msft,

I discovered a straight-forward way to shrink the datacard height inside a SP Custom Form.  

Within each datacard are a number of controls.  Each of the controls can be resized and/or moved to "make room" for a downsizing of the datacard height property. The Errormessage control was the main culprit in preventing a reduction in height of the corresponding datacard. Once I moved and resized everything, I could decrease the datacard height.  So, the datacard height is contingent on the height and locations of the controls it contains, which makes sense...

  2018-01-08_16h10_48.png

View solution in original post

I have been fighting to figure this out for hours. Never occured to me to look for hidden elements withing the card. In my case it was the 'ErrorMessage' object. Thanks!

Hi @kbarber,

 

Thanks a lot for pointing out the exact solution for the problem. Your suggestion worked for me.

 

Thanks and Regards,

Arul Frances S

Anonymous
Not applicable

Hi,

 

I am having the same problem but I have no 'hidden' elements - I deleted the error message and the star visable element.  On the left side of the screen, under the card name I only have the two elements I list next.  I have a label field (Height 48 in both properties and Advanced) and a toggle (Height 38 in both properties and Advanced).  The card shows a height of 320 in the properties and in the Advanced it shows a height of 68 (Which is what I want).   If I try to use the mouse to make the card shorter, nothing happens.  If I change the 320 in the properties to 68, nothing changes and the number reverts back to 320.

 

 

Any help would be so appreciated as I am almost ready to fire my laptop through a window!!!  🙂

 

Thanks

 

Ian

Hi Ian,

 

 

Can you please check whether previously added datacard elements are preventing your size change of the elements?

 

As a work around, you can try dragging the handle manually to see whether the data card element is changed.

 

Please try sharing the screenshot of your issue for further assistance.

 

Thanks and Regards,

Arul Frances

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,396)