cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
octaking
Level: Powered On

responsive rectangle

I have a rectangle as a notification bubble that has a label with a number.

 

I want when the number grows, the rectangle also grows.

 

 I think it can be done with a condition but I don't know how to manipulate the width and height in a condition

 

68276916_2209534785824497_1677373059108962304_n.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Level 10

Re: responsive rectangle

Hi @octaking 

 

Height  - CountRows(Gallery5.AllItems)*x  where x is ur multiple 

 

 

3 REPLIES 3
RezaDorrani
Level 10

Re: responsive rectangle

Hi @octaking 

 

Set the height and width property of the rectangle to be relative to the number field data

 

example:

Height  - Value(Numberfielddata)*x 

where x - any number value to set based on rectangle size

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

octaking
Level: Powered On

Re: responsive rectangle

Thanks for answering

can you show me the formula
since the value of the tag is a CountRows (Gallery5.AllItems)

RezaDorrani
Level 10

Re: responsive rectangle

Hi @octaking 

 

Height  - CountRows(Gallery5.AllItems)*x  where x is ur multiple 

 

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 51 members 4,718 guests
Please welcome our newest community members: