Android Question Design-script - one button is not created as expected

moster67

Expert
Licensed User
Longtime User
As the title says: I have this simple design-script and would have expected one button to behave as two adjacent ones but it is higher. This can be seen in landscape on the device or using UI-cloud when the design-script for "'Variant specific script: 480x320,scale=1" is applied.

I attach a test project where you can see the simple script used :

B4X:
btnStream.SetLeftAndRight(0%x, 32.85%x)
btnStream.SetTopAndBottom(85%y,100%y)
btnDelete.SetLeftAndRight(67.15%x, 100%x)
btnDelete.SetTopAndBottom(85%y,100%y)
btnTranscode.SetLeftAndRight(33.15%x, 66.85%x)
btnTranscode.SetTopAndBottom(85%y,100%y) 'it is same as others !!

and if you connect to the UI-cloud, you can see the unexpected result (the middle button called Transcode is higher than the other two). All values (SetTopAndBottom) of the group of the 3 buttons are all the same but still I see this error.

Either I am blind or there is something weird going on :eek:. Of course, the idea is that all buttons should have the same height ;)

Is there a solution?
 

Attachments

  • test333.zip
    8.3 KB · Views: 186
Top