View Full Version : Why a square button becomes rectangular?

3rd May 2011, 05:00
I hard coded my button size into my program.
It appears fine on my computer.
Later, when I built and run on another machine, the button looked rectangular.
Because of that, some of my buttons are hidden.
What is the way to make sure the UI remain consistent throughout all platforms and screen solution?

Thank you.

3rd May 2011, 05:46
Setting a widget size doesn't do a lot when you add that widget to a size managing container like a layout.

Please show some code for a better answer.