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

Community site session details

Session Id : EkcsNkheu6axRKNX9zGVQW
Power Apps - Power Apps Pro Dev & ISV
Answered

Wraparound Feature and Collapsing

Like (1) ShareShare
ReportReport
Posted on 9 Sep 2024 14:13:33 by 816 Super User 2025 Season 2
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
    48,288 Super User 2025 Season 2 on 09 Sep 2024 at 21:44:07
    Wraparound Feature and Collapsing
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 936 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 375 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 330 Super User 2025 Season 2

Last 30 days Overall leaderboard