Table of Contents

Property ExactFit

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ExactFit

Gets or sets whether buttons are made of at least the standard button size, even if their contents is small enough to fit into a smaller size.

bool ExactFit { get; set; }

Property Value

bool

Remarks

Standard button size is used for consistency as most platforms use buttons of the same size in the native dialogs. If this flag is specified, the button will be made just big enough for its contents. Notice that under MSW the button will still have at least the standard height, even with this style, if it has a non-empty label.