PDA

View Full Version : Why a square button becomes rectangular?



marc2050
3rd May 2011, 05:00
Hi.
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.
Marc

tbscope
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.