luster New Member Jan 7, 2024 #1 I have just been introduced to B4X and am currently getting started. In the B4J MyFirstProgram example, after edit variant of Internal Designer to change the Abstrace Designer to the specified size, and used Connect to run the "Form", is always 600x600 not updated.
I have just been introduced to B4X and am currently getting started. In the B4J MyFirstProgram example, after edit variant of Internal Designer to change the Abstrace Designer to the specified size, and used Connect to run the "Form", is always 600x600 not updated.
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2024 #2 And the dimensions of the WYSIWYG window are user resizable. You need to resize the window yourself. In most cases it is a mistake to try to match a specific resolution. Upvote 0
And the dimensions of the WYSIWYG window are user resizable. You need to resize the window yourself. In most cases it is a mistake to try to match a specific resolution.
luster New Member Jan 8, 2024 #3 Erel said: And the dimensions of the WYSIWYG window are user resizable. You need to resize the window yourself. In most cases it is a mistake to try to match a specific resolution. Click to expand... Because the size of the "Form" in GettingStart in the screenshot is the same as that set by the variant, I thought that the Internal Designer would match it automatically. Is there any advantage to a design that does not automatic size? Upvote 0
Erel said: And the dimensions of the WYSIWYG window are user resizable. You need to resize the window yourself. In most cases it is a mistake to try to match a specific resolution. Click to expand... Because the size of the "Form" in GettingStart in the screenshot is the same as that set by the variant, I thought that the Internal Designer would match it automatically. Is there any advantage to a design that does not automatic size?
zed Well-Known Member Licensed User Jan 8, 2024 #4 You can change the dimensions of the form in different ways like this Code: Copy #Region Project Attributes #MainFormWidth: 1024 #MainFormHeight: 768 #End Region or with code Code: Copy 'Full Screen MainForm.WindowWidth = fx.PrimaryScreen.MaxX - fx.PrimaryScreen.MinX MainForm.WindowLeft = fx.PrimaryScreen.MinX MainForm.WindowHeight = fx.PrimaryScreen.MaxY - fx.PrimaryScreen.MinY MainForm.WindowTop = fx.PrimaryScreen.MinY In the designer, select "Fit to connected device" Be careful with Full Screen, your screens may not match those of your users. Use anchors to adjust views. Last edited: Jan 8, 2024 Upvote 0
You can change the dimensions of the form in different ways like this Code: Copy #Region Project Attributes #MainFormWidth: 1024 #MainFormHeight: 768 #End Region or with code Code: Copy 'Full Screen MainForm.WindowWidth = fx.PrimaryScreen.MaxX - fx.PrimaryScreen.MinX MainForm.WindowLeft = fx.PrimaryScreen.MinX MainForm.WindowHeight = fx.PrimaryScreen.MaxY - fx.PrimaryScreen.MinY MainForm.WindowTop = fx.PrimaryScreen.MinY In the designer, select "Fit to connected device" Be careful with Full Screen, your screens may not match those of your users. Use anchors to adjust views.