cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Minimize Cards in Canvas App

Hello,

 

is there a possibilty to minimize and maximize the cards in a screen? I have added a scrollable screen and there I can add different chapters.

 

But is there a possibilty to minimize the cards? Such as my example in the Screenshot? Maybe with another function?

 

maximize.jpgminimize.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Minimize Cards in Canvas App

Hi @chhe ,

Yes it is something I do on all large forms.

Firstly get your up and down icons - I will use a Variable name vShow - you can call it whatever you want.

On your expand (down) arrow, put this the OnSelect

UpdateContext({vShow:true})

with the Visible property

!vShow

and the Collapse (up arrow) OnSelect

UpdateContext({vShow:false})

with the Visible property

 

vShow

Now one each object in the cards you want to hide, make the Visible property

vShow

In the Height of the Cards (assuming 50 presently - change if necessary)

If(vShow,50,0)

The alternative is to simply have the Cards Visible as vShow, but I have found issues with things moving around the screen.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

 

View solution in original post

1 REPLY 1
Highlighted
Super User III
Super User III

Re: Minimize Cards in Canvas App

Hi @chhe ,

Yes it is something I do on all large forms.

Firstly get your up and down icons - I will use a Variable name vShow - you can call it whatever you want.

On your expand (down) arrow, put this the OnSelect

UpdateContext({vShow:true})

with the Visible property

!vShow

and the Collapse (up arrow) OnSelect

UpdateContext({vShow:false})

with the Visible property

 

vShow

Now one each object in the cards you want to hide, make the Visible property

vShow

In the Height of the Cards (assuming 50 presently - change if necessary)

If(vShow,50,0)

The alternative is to simply have the Cards Visible as vShow, but I have found issues with things moving around the screen.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

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

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