Wish 100%x and 100%y

HotShoe

Well-Known Member
Licensed User
Longtime User
I'd like to see a mechanism like the current 100%x & 100%y that would apply to a views parent instead of the screen size. So I could do a 35%xp to get a % based on the parent for example. maybe taking the parent from the view on the left side of the statement.

label.left = 35%xp

would take the parent dimensions of the label.

Just an idea.

--- Jem
 

HotShoe

Well-Known Member
Licensed User
Longtime User
I did not realize that. That makes it half as hard! :)

--- Jem
 

HotShoe

Well-Known Member
Licensed User
Longtime User
Erel,

This didn't work for me on 3.20 in the designer. I just tried it and it made the button larger than its parent panel. Is there a trick to making it take the parent dimensions?

--- Jem
 
Top