Hi,
I don't know if this is an issue relating specifically to the LG G2, but I would've thought that the code
[ code ]
buttonThisIsMyCamera.Left = 10%x
buttonThisIsMyCamera.width = 80%x
[ /code ]
would center the button horizontally, starting 10% into the screen and being 80% wide, with a 10% margin at the right. Correct?
The result I get is the button has a left margin but has no right margin at all. If I write similar code in the designer script area, and upload to the ui cloud, it looks fine in the results that come back, but I don't get those results on my device. This, of course, makes laying a screen very very difficult.
Any ideas?
Thanks,
Richard
I don't know if this is an issue relating specifically to the LG G2, but I would've thought that the code
[ code ]
buttonThisIsMyCamera.Left = 10%x
buttonThisIsMyCamera.width = 80%x
[ /code ]
would center the button horizontally, starting 10% into the screen and being 80% wide, with a 10% margin at the right. Correct?
The result I get is the button has a left margin but has no right margin at all. If I write similar code in the designer script area, and upload to the ui cloud, it looks fine in the results that come back, but I don't get those results on my device. This, of course, makes laying a screen very very difficult.
Any ideas?
Thanks,
Richard