cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
octaking Helper V
Helper V

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
Dual Super User
Dual Super User

Re: responsive rectangle

Hi @octaking 

 

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

 

 

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

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 Helper V
Helper V

Re: responsive rectangle

Thanks for answering

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

Dual Super User
Dual Super User

Re: responsive rectangle

Hi @octaking 

 

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

 

 

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

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