Solved layout problems
canellas last edited by canellas
I developed an app for Android (and iOS), where there is a login screen. This screen has an image on top, a smaller image below it, and two text boxes, for email and password, and a button for the user to send them.
As you can (I hope) visualize, nothing too complicated.
The thing is: I can not get the layout to be the same when I run on my notebook (for testing), on Android and iOS. At first I could not avoid that the images were displayed out of proportion. So, I wrote code to calculate theirs sizes, and I managed that they were displayed with the right proportion. But the two text boxes, along with the button become too narrow.
I tried to use the layout and spacers components, but I failed badly.
Does anyone have an example of a similar layout?
Can you show yours ? That might help finding what's going wrong.
Here it is:
Can you also show what you get on your development machine ?
Widgets + style sheet ?
Thanks for your time.
I made it work correcting the layout, styles and because I found out the
Thanks for your feedback :)