Bug? Abstract Designer size issue

cooperlegend

Active Member
Licensed User
Longtime User
Hi,

When I use a layout of 1920x1080 I find that in the designer that the windows is not the correct size. (even after clicking "Match Chosen Variant"

for example



any ideas why or how to fix this?
 

cooperlegend

Active Member
Licensed User
Longtime User
Sony spec says 1920 x 1080 !

Even on other designs were I use 800x480 I have had similar issues...
 

klaus

Expert
Licensed User
Longtime User
The window height in the Designer is the available height which is the total height minus the title and bottom line heights.
Look at the value of the sum of pnlLower.Top + pnlLower.Height.
I'm sure you get 1080, so the lower part is out of the usable screen height.

Best regards.
 

cooperlegend

Active Member
Licensed User
Longtime User
pnlLower.Top = 500
pnlLower.Height = 575

So total = 1075 which is fine and shows on the TV screen fine.

But the designer (black) box is 1920 x 1008 (72 short in height) Why?

I always use full screen

#FullScreen: True
#IncludeTitle: False

So want to design to the whole area.

p.s. This doesn't affect anything whilst running

p.p.s. I absolutely love B4A and don't want this to sound like a criticism, just a question, am I doing something wrong?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
On "large devices" the abstract designer assumes that there is an unremovable 48 pixels bar for the soft buttons.

There is a bug where the full screen parameter doesn't affect the abstract designer size in this case. It is always in full screen.

Note that in most cases the exact size is not very important. You should use the designer script to make your layout adjust to the actual device size.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…