AnchorDocking: wrong main window size ater layout loading with LCL scaling
Original Reporter info from Mantis: zamtmn @zamtmn
-
Reporter name: Andrey Zubarev
Original Reporter info from Mantis: zamtmn @zamtmn
- Reporter name: Andrey Zubarev
Description:
Wrong main window size ater layout loading with LCL scaling. See Steps To Reproduce
This is most likely because in step 4 layout.xml is loaded into the onCreate handler and some scaling parameters have not yet been configured. Reloading at runtime does everything correct. How do I get around this?
Steps to reproduce:
- Open components\anchordocking\minidewithdockpanel example
- Set Project Options <-> Use LCL scaling (Hi-DPI) to true
- Run example and save your layout to layout.xml
- ReRun example and see wrong window size
- Load layout.xml manually and see correct window size