Skip to main content

TcxCustomEditButton.Stretchable Property

Specifies if the button automatically adjusts its width according to parent editor width changes.

Declaration

property Stretchable: Boolean read; write; default True;

Property Value

Type Default Description
Boolean True

True if the button resizes according to parent editor width changes; otherwise, False.

Remarks

You can set the Stretchable property to False to retain the current button width when the parent editor’s width changes. The Stretchable property is in effect only if the parent editor’s Properties.ButtonViewStyle property is set to bvsButtonsOnly or bvsButtonsAutoWidth.

Default Value

The Stretchable property’s default value is True.

See Also