"resize" property of View

The int "resize" property (Resize constant) sets whether the View can be resized, and if so, in which directions.Valid values

Value Constant Name Description
0 NoneResize "none" View cannot be resized.
1 BothResize "both" The View displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
2 HorizontalResize "horizontal" The View displays a mechanism for allowing the user to resize it in the horizontal direction.
3 VerticalResize "vertical" The View displays a mechanism for allowing the user to resize it in the vertical direction.

The default value for all View types except multiline text editor is NoneResize(0).The default value for a multiline text editor is BothResize(1).

You can get the value of this property using the function

func GetResize(view View, subviewID ...string) int