cooperlegend Active Member Licensed User Longtime User Jul 18, 2013 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2013 #2 Which device are you targeting? The dimensions you are using are for a 14" tablet.
cooperlegend Active Member Licensed User Longtime User Jul 18, 2013 #3 This is for a Sony google TV box..
NJDude Expert Licensed User Longtime User Jul 18, 2013 #4 Why are you using such a large layout? GoogleTV is the same as a 7 inch tab.
cooperlegend Active Member Licensed User Longtime User Jul 18, 2013 #5 Sony spec says 1920 x 1080 ! Even on other designs were I use 800x480 I have had similar issues...
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2013 #6 Are you sure that the scale is 1.0? You can call: Code: Copy Msgbox(GetDeviceLayoutValues)
klaus Expert Licensed User Longtime User Jul 19, 2013 #8 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.
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 Jul 19, 2013 #9 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?
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 Jul 21, 2013 #10 The attributes settings doesn't affect the designer. You should set these properties in the activity properties (in the designer).
The attributes settings doesn't affect the designer. You should set these properties in the activity properties (in the designer).
cooperlegend Active Member Licensed User Longtime User Jul 22, 2013 #11 Yes, I have So why is the area always 72 short in height?
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2013 #12 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.
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.