At least my best guess.....Hi Mattias, this whole form had the same regression before (long before new autosize) (I don't remember what was it back then, but it had been fixed....)
Now it is broken again.pnlRight has many buttons. They are supposed (and once were) to be one below the other.
The main point is, that the all have akLeft+akRight => so they keep the same left/right distance (0 pixel) to the panel, if the panel resizes.
The panel is autosize.The result used to be, that the panel sizes to the size of the widest button, and all others follow.
I know that I could set the siblings to the panel, I don't know (did not test) if that would make a difference.
The point is, even without the siblings being set, it should work.there original configuration, is all having the same size, and therefore all fitting exactly the panel: akLeft+akRight should keep the left+right side relative to the panel....
Martin
bug2.rar
Description: Binary data
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
