rbirago Active Member Licensed User Longtime User Mar 29, 2019 #1 In a B4A application I'm developing there are some panels that I use to load different groups of views. For now I use two different variants (small screen and larger screen) and so also the subpanel layouts are different. I have defined the variant layout measuring the available screen space, but when I create the variant the height size is wrong (see the attached example). Where is the trick? thanks in advance Attachments Screen Height Size.png 45.8 KB · Views: 498
In a B4A application I'm developing there are some panels that I use to load different groups of views. For now I use two different variants (small screen and larger screen) and so also the subpanel layouts are different. I have defined the variant layout measuring the available screen space, but when I create the variant the height size is wrong (see the attached example). Where is the trick? thanks in advance
klaus Expert Licensed User Longtime User Mar 29, 2019 #2 The height in the Designer is the available height. The difference is the height of the two top lines. What strange screen size is 320 x 160 ? Upvote 0
The height in the Designer is the available height. The difference is the height of the two top lines. What strange screen size is 320 x 160 ?
rbirago Active Member Licensed User Longtime User Mar 29, 2019 #3 it is not a screen, but a panel. Is the height of the panel in the "father" layout. I suppose that if I set an height of 50 points more then the automatic choose of the variant of the panel doesn't work properly...or not? Upvote 0
it is not a screen, but a panel. Is the height of the panel in the "father" layout. I suppose that if I set an height of 50 points more then the automatic choose of the variant of the panel doesn't work properly...or not?
Erel B4X founder Staff member Licensed User Longtime User Mar 31, 2019 #4 Moved to the questions forum. You are doing a mistake to try to match a specific size. It is also a mistake to use multiple variants unless you really must. Use anchors and designer script instead. You can uncheck Show Title and check Full Screen (in the "activity" properties) to remove the two bars and get the extra height. Upvote 0
Moved to the questions forum. You are doing a mistake to try to match a specific size. It is also a mistake to use multiple variants unless you really must. Use anchors and designer script instead. You can uncheck Show Title and check Full Screen (in the "activity" properties) to remove the two bars and get the extra height.