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 / Wraparound Feature and...
Power Apps
Answered

Wraparound Feature and Collapsing

(1) ShareShare
ReportReport
Posted on by 819 Moderator
Good morning everyone!
 

Wraparound Feature for Questions – How to implement a wraparound feature so that everyone can view the entire question without any truncation.
 
Collapsing Left Column – How to add a feature to collapse the left column when a Add(+) button is clicked. (Also, then how to go back if someone want to find old record or go to old history.)
 
How can I fix this. Would appreciate insights/solutions.

I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,974 Moderator on at
    Hi
     
    So what you do is something like this.
     
    In the Screen OnVisible (and you could use a context variable im being lazy)
     
    Set(_LeftContainerWidth, 200);
     
    This would be the start of the width of that container, assuming you know what it is, either hard code it or make is an Environment Variable or something else.
     
    Put it in the Width property of your Container on the left.
     
    Then when someone clicks +
    Set(_LeftContainerWidth, 0);
     
    Now its closed
     
    then in your other container change the X property to be
    If(_LeftContainerWidth = 0, 0, _LeftContainerWidth + 5) // so it will either have its X be 0 or X = Width of Left Container + 5 
     
    Then in the Width for your right container
     
    If(_LeftContainerWidth = 0, Parent.Width, ItsNormalWidth);
     
    Now for the controls IN the container do the same thing for X and Width
    If(_LeftContainerWidth = 0, Parent.Width, ItsNormalWidth);
    If(_LeftContainerWidth = 0, 0, _LeftContainerWidth + 5) // and change the 5 to whatever you want for that control
    in their widths.
     
    and Parent.Width, may need to be Template.Width or Screen depending on how you have it.
     
    Now since you said when they click + there must be a Save/Update button
    So, click that and then do
    Set(_LeftContainerWidth, 200) and bingo it all resets.
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 600

#2
WarrenBelz Profile Picture

WarrenBelz 478 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard