You are here: Symbol Reference > JSLabel Namespace > Classes > TJSCustomMoreLabel Class > TJSCustomMoreLabel Methods > TJSCustomMoreLabel.AdjustBounds Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCustomMoreLabel.AdjustBounds Method

Resizes the label when the text changes.

Pascal
procedure AdjustBounds; override;

When the text in the label or the font changes, AdjustBounds is implicitly called. It redraws the text in the client area, and then resizes the label if the AutoSize property is true. 

 

Override AdjustBounds to make additional adjustments when the text changes.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!