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 / Parent.Width removed a...
Power Apps
Unanswered

Parent.Width removed after app size changed

(0) ShareShare
ReportReport
Posted on by 5

Hi All,

 

I found an annoying behaviour: when I change the size of a custom sized application all formulas with Parent.Width removed and replaced by the current calculated value.
It is problematic when I have to change the app size more than one time and all the formulas must be re-edited.

Why my formulas removed when I modifying app size?

 

Eg.: 

I have created a sample canvas app with a text box and aligned to the center of the screen:

Qkxy_0-1602221986490.png

After then I have modified the app size:

Qkxy_1-1602222021064.png

Returning to the application my width related functions removed:

Qkxy_3-1602222168389.png

Luckily height related function not modified:

Qkxy_4-1602222364346.png

 

Categories:
  • Vijay Tailor Profile Picture
    2,961 on at

    Hi @Qkxy ,

    This is only the behaviors Now in powerapp if you using the parent.width and increasing or decreasing size manually, then you lost the formula.
     So please don't increase/Decrease the size manually, modify the formula if you want to increase or decrease the size.
     
    Thanks,

  • Qkxy Profile Picture
    5 on at

    Hi @VijayTailor ,

     

    Thanks for your support, but it is not comfortable and I not changing app size for fun but I have to follow the changing design requirements and my app containing a lot components.

    Is there a plan to modify this behaviour?
    Why my formulas replaced with discrete values?

     

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Qkxy ,

     

    This is a by design feature. If you have any suggestion on this, please submit your feedback to PowerApps idea forum.

    Here is an alternative workaround, save the Parent.Width to variable in App.OnStart property, once you change the App Size, run the App.OnStart property to trigger the variable set, then apply the variable into other properties.

    Set(varWidth, Parent.Width)

    Hope this helps.

    Sik 

     

     

  • Qkxy Profile Picture
    5 on at

    Hi @v-siky-msft ,

     

    Thank you for your support, but unfortunately your suggestion can not be implemented due to the restriction of Parent.Width:

    Qkxy_1-1602523283664.png

    I have tried it in screen's OnVisible handler:

    Qkxy_2-1602523480497.png

    I have tried that I created a global variable and set discrete value into that variable and after the width modification of the application the component Width and X formulas replaced by the calculated value, so not the Parent.Width is the source of the behaviour but as you write a design concept to clear Width and X properties formula and replace by the calculated discrete value after application size modified. I can not get what is the driver of this behaviour but it is really annoying for me.

     

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Qkxy ,

     

    Yes, I would suggest you to submit an idea to PowerApps idea forum to submit you feedback on this design.

    If you want quicker response, try to request a Support Ticket to Microsoft for further assistance.

    Sik

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard