B4J Question Layout size

Declan

Well-Known Member
Licensed User
Longtime User
If a Form size is set as follows:
B4X:
    MainForm = Form1
    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
    MainForm.Show
How do I size the Layout to fill the Form
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…