ChildSizing - crsScaleChilds does not work
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
EnlargeHorizontal or ShrinkHorizontal :=crsScaleChilds does not work.
I cannot obtain result like on the wiki: http://wiki.freepascal.org/Autosize_/_Layout#crsScaleChilds
where buttons in each column have different width. crsScaleChilds behave like crsHomogenousChildResize.
Steps to reproduce:
Open demo. Select Form1 and expand ChildSizing node in OI. Check parameters: ControlsPerLine:=2; EnlargeHorizontal and ShrinkHorizontal :=crsScaleChilds;.
Now set Layout to cclLeftToRightThenTopToBottom, which activates the childsizing.
I expect buttons scaled and keep ratio on horizontal resizing of the form however, they have equal width like with the crsHomogenousChildResize.
Additional information:
Tested with
Lazarus 1.9.0 r58749M FPC 3.3.1 x86_64-linux-qt
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64
Mantis conversion info:
- Mantis ID: 34172
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 58749
- Platform: amd64
- Version: 1.9 (SVN)