Skip to main content

DockPanel Class

Package: GHIElectronics.Endpoint.UI
Namespace: GHIElectronics.Endpoint.UI

WPF-style DockPanel. LVGL has no dock layout; the caller (or codegen) computes each child's absolute position from its Dock side plus the remaining area, then uses the child's X/Y/Width/Height properties.

class DockPanel(Widget): ...

Constructors​

DockPanel(Widget parent)​

def __init__(self, parent: Widget):

Create a dock panel inside parent.

ParameterTypeDescription
parentWidgetContaining widget.

Properties​

LastChildFill​

LastChildFill: bool # @property / @setter

When true, the last added child fills the remaining area. Consumed by codegen, not LVGL.

Returns bool