AutoResizing

class pyto_ui.AutoResizing(*values)

Configure a view for auto resizing.

FLEXIBLE_BOTTOM_MARGIN = 32

Resizing performed by expanding or shrinking a view in the direction of the bottom margin.

FLEXIBLE_HEIGHT = 16

Resizing performed by expanding or shrinking a view’s height.

FLEXIBLE_LEFT_MARGIN = 1

Resizing performed by expanding or shrinking a view in the direction of the left margin.

FLEXIBLE_RIGHT_MARGIN = 4

Resizing performed by expanding or shrinking a view in the direction of the right margin.

FLEXIBLE_TOP_MARGIN = 8

Resizing performed by expanding or shrinking a view in the direction of the top margin.

FLEXIBLE_WIDTH = 2

Resizing performed by expanding or shrinking a view’s width.