Table of Contents

Method SetMinSize

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

SetMinSize(int, int)

Call this to give the sizer a minimal size.

void SetMinSize(int width, int height)

Parameters

width int

Min width.

height int

Min height.

Remarks

Normally, the sizer will calculate its minimal size based purely on how much space its children need. After calling this method GetMinSize() will return either the minimal size as requested by its children or the minimal size set here, depending on which is bigger.