madgui.util.layout module

Utility functions to deal with layouts.

Functions

VBoxLayout(items[, tight])

HBoxLayout(items[, tight])

Classes

Spacing

Fixed pixel spacing for QLayout.

Stretch

Stretch spacer for QLayout.

Strut

Strut for QLayout.

madgui.util.layout.HBoxLayout(items, tight=False)[source]
class madgui.util.layout.Spacing[source]

Bases: int

Fixed pixel spacing for QLayout.

class madgui.util.layout.Stretch[source]

Bases: int

Stretch spacer for QLayout.

class madgui.util.layout.Strut[source]

Bases: int

Strut for QLayout.

madgui.util.layout.VBoxLayout(items, tight=False)[source]