SizePolicy
enum in package klyn.gui.windows

    public enum SizePolicy:

SizePolicy

Describes how a widget consumes extra layout space.

Layout managers use `SizePolicy` as the default growth hint. Explicit `LayoutParams.growX` and `LayoutParams.growY` values still take precedence when a caller needs a local override.

    canvas = CanvasPreview()
    canvas.sizePolicy = (SizePolicy.EXPANDING, SizePolicy.EXPANDING)