enum Eagle::SizeFlags

Overview

How a control grows inside a box container. ExpandX or ExpandY makes it take up the spare space.

Defined in:

eagle/ui/control.cr

Enum Members

ExpandX = 1

Take a share of spare width in an HBox.

ExpandY = 2

Take a share of spare height in a VBox.

Expand = 3

Expand in both directions.

None = 0
All = 3

Instance Method Summary

Instance Method Detail

def expand? #

Returns true if this enum value contains Expand


def expand_x? #

Returns true if this enum value contains ExpandX


def expand_y? #

Returns true if this enum value contains ExpandY


def none? #