web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Modern form "Line brea...
Power Apps
Answered

Modern form "Line breaking" in published app

(0) ShareShare
ReportReport
Posted on by 104
Hi.

I've just finished an application in Power Apps, and here's how it looks:
Just fine. As I said in the title, the inpput control is a modern form in the following cascade of containment:
 
When published in a SharePoint Page, the lines in the form break:
 
Does anybody know how to keep it how it appears in Power Apps?
 
Thank you in advance!
Categories:
I have the same question (0)
  • Verified answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    Yes, form controls in Power Apps will automatically resize based on the container, but if you want them to stay consistent across different screen, you should use relative sizing. A common approach is to reference Parent.Width so the control adjusts proportionally.
     
    For example, if you want to display 3 data cards in one row, set each card’s width to:
    Parent.Width/3
    In that case, cards will always divide the available space evenly and keep the layout consistent.
     
     
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!
     
     
  • William_Azevedo Profile Picture
    104 on at
    It didn't work.
    I wanted the 4 datacards in a single row, like the first image, changed their width property do Parent.Width/4 (based on the logic you suggested) and the result in the page continues the same, the last datacard in the right falls to the row below (I tried to apply the solution only on the first row). Anyway, thank you for your time and your help!
  • Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
    @William_Azevedo, After applying this logic, please perform a hard refresh, as it sometimes takes time to reflect in SharePoint. Alternatively, you could add a temporary button, publish it, and refresh until the button appears. This way, you can confirm that the new version has been applied.
     
    Could you please share the screenshot where you wrote the formula? This will allow me to confirm it and help me debug.
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
  • William_Azevedo Profile Picture
    104 on at
    You were right, I've just tried accessed it again and it worked! to attend your request:
     
    And now how it appears on the page:
     
    Now I'll apply the logic to the other lines in the form.
     
    Thank you very much!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard