12.02.2010 14:33, cobines wrote:

If I set any of the bevels instead, the control's ClientSize remains
the same as Size. I would expect the bevels be treated like borders
and also reduce client size. Or is this how it's supposed to work?

Bevels reduce ClientRect by BevelSize value.

Problem arises when using autosize on TPanel. The bevels are not
accounted for when size is calculated, the panel's size is the same as

BevelSize is used to calculate the ClientRect in TCustomPanel.AdjustClientRect.

Is this a bug?

If it does not work then yes.

Best regards,
Paul Ishenin.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to