Android Question How Do i Make A Square Label

wwregistry

Member
Licensed User
Longtime User
This code is obviously wrong

B4X:
Label.With = 10%x
Label.Height = 10%x

My question is what sort of adjustment should I make. I have tried various scaling arrangements but none seem to be adequate?
 

wwregistry

Member
Licensed User
Longtime User
Erel Background color is good.
NJDude thanks, that solution is so simple. I don't understand the reasoning?
Is the Label.width 10% of X automatically scaled to the %Y equivalent?
 
Upvote 0
Top