cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Highlighted
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

 

Highlighted
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)

Highlighted
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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (11,556)