Recent

Author Topic: Please test crsScaleChilds  (Read 4099 times)

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Please test crsScaleChilds
« on: August 21, 2018, 07:29:58 pm »
Can you please help me to test crsScaleChilds somehow (in trunk)?

I cannot achieve this: http://wiki.freepascal.org/Autosize_/_Layout#crsScaleChilds, i.e. crsScaleChilds always looks and behaves like crsHomogeneousChildResize.
Simpy, I cannot have different width of buttons in each column, no matter if I try to put buttons to GroupBox or to Form. I guess it is a bug.

How I tested:
I put two buttons with diferent width. Then I set (in OI):
ChildSizing.ControlPerLine:=2;
ChildSizing.EnlargeHorizontal:=crsScaleChilds;
ChildSizing.ShrinkHorizontal:=crsScaleChilds;
ChildSizing.Layout:=cclLeftToRightThenTopToBottom;
Now buttons become homogenous, (have the same width).

Try to test differently (if you have idea) maybe I do something wrong.

EDIT: I reported it: https://bugs.freepascal.org/view.php?id=34172
« Last Edit: August 22, 2018, 04:25:04 pm by Blaazen »
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

 

TinyPortal © 2005-2018