I am having a problem getting the AdjustFontSizeToFit label property to work. It does not seem to do anything. I set it in the designer and alternatively in the page resize function as below. Is there some trick to getting this to work?
B4X:
Private Sub Application_Start (Nav As NavigationController)
'SetDebugAutoFlushLogs(True) 'Uncomment if program crashes before all logs are printed.
NavControl = Nav
Page1.Initialize("Page1")
Page1.Title = "Page 1"
Page1.RootPanel.Color = Colors.White
NavControl.ShowPage(Page1)
Page1.RootPanel.LoadLayout("1")
End Sub
Private Sub Page1_Resize(Width As Int, Height As Int)
Label1.AdjustFontSizeToFit=True
End Sub