cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

Hiding a label under a expandable side bar

Hello ,

I am creating a app in which there is a side bar which can expand when i click on the button on side bar.

And i am having a label besides the side bar .The side bar works fine as i have set some properties for side bar.

But when sde bar expands i am still able to see my label.

What i want is that when the side bar expands ,the label should hide behind the side bar (Side bar is a recatangle).

 

Iamges:1.Side bar and label22.JPG

2.When side bar expands  11.JPG

 I want the label "Text " to hide behind the Side bar (Rectangle).

 

Thanks in advance!!

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Hiding a label under a expandable side bar

Hi @abd3127,

 

How do you expand the side bar within your PowerApps app?

I have made a test on my side and please take a try with the following workaround:

  • Select Screen 1, set OnVisible property to following formula:
UpdateContext({isClicked:false})
  • Add a Rectangle control and icon control in Screen 1, both OnSelect property of them are set to following formula:
UpdateContext({isClicked:!isClicked})

 

Width property of Rectangle control set to following formula:

If(isClicked=true,444,111)
  • Add a Label control in Screen 1, Text property set to Text, Set Visible property to following formula:
If(isClicked=true,false,true)

 

The image reference:15.JPG

After Click on “Rectangle” control:16.JPG

 

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Hiding a label under a expandable side bar

@v-xida-msft yeah thats how i am expanding my side bar menu and its working now,

Thanks for the solution.Smiley Happy

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,769)