When loading a first page with AutoScaleRate(1) and AutoScaleAll, then a second page, when we show
the first page, it's like the Autoscale had no effect, controls are super big.
in this example
layout1 :
AutoScaleAll
layout2 :
AutoScaleRate(1)
AutoScaleAll
if I remove
no problem
the first page, it's like the Autoscale had no effect, controls are super big.
in this example
layout1 :
AutoScaleAll
layout2 :
AutoScaleRate(1)
AutoScaleAll
B4X:
Private Sub Application_Start (Nav As NavigationController)
Dim nc As NavigationController
nc.Initialize("nc")
' in Sub Process_Globals
' Public NavControl As NavigationController
NavControl = nc
page1.Initialize("page1")
page1.RootPanel.LoadLayout("layout1")
page2.Initialize("HomePage")
page2.RootPanel.Color = Colors.White
page2.RootPanel.LoadLayout("layout2")
page2.RootPanel.Color = Colors.Black
NavControl.ShowPage(HomeScreen)
if I remove
B4X:
page1.Initialize("page1")
page1.RootPanel.LoadLayout("layout1")
Last edited: