Use the control’s Can Grow and Can Shrink properties to make a data-bound control automatically adjust its height to its contents.

Use the Auto Width property to make a data-bound Label or Character Comb automatically adjust its width to its content. This option behaviour depends on the control’s current horizontal alignment (Text Alignment property value).

  • Text Alignment = Left
  • Text Alignment = Right
  • Text Alignment = Center

The control’s Word Wrap property allows you to make a control display its contents in multiple lines when it does not fit into the control’s dimensions.

You can also use the opposite Text Fit Mode property to adjust a label or table cell’s font size to fit the control’s bounds. Images below show how the Word Wrap property affects the label’s font size.

This property is not available in the following cases:

  • The Can Grow, Can Shrink or Auto Width option is enabled;
  • The label’s Angle property is specified;
  • The control’s Anchor Horizontally or Anchor Vertically property is set to Both.
Last modified: Sep 16, 2019

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment