View Issue Details

IDProjectCategoryView StatusLast Update
0034172LazarusLCLpublic2018-08-22 16:26
ReporterVojtech CihakAssigned To 
Status newResolutionopen 
Platformamd64OSLinuxOS VersionChakra 64-bit
Product Version1.9 (SVN)Product Build58749 
Target VersionFixed in Version 
Summary0034172: ChildSizing - crsScaleChilds does not work
DescriptionEnlargeHorizontal or ShrinkHorizontal :=crsScaleChilds does not work.
I cannot obtain result like on the wiki:

where buttons in each column have different width. crsScaleChilds behave like crsHomogenousChildResize.
Steps To ReproduceOpen 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 InformationTested 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
TagsNo tags attached.
Fixed in Revision
Attached Files


Vojtech Cihak

2018-08-22 16:26

reporter (2,495 bytes)

Issue History

Date Modified Username Field Change
2018-08-22 16:26 Vojtech Cihak New Issue
2018-08-22 16:26 Vojtech Cihak File Added: