3.3.3 Panels
3.3.3.1 HPanel
3.3.3.2 VPanel
3.3.3.3 Group  Panel
3.3.3.4 Tabs  Panel
On this page:
VPanel
VPanel.Style
VPanel.Style.border
VPanel.Style.vscroll
VPanel.Style.hscroll
VPanel.Style.auto_  vscroll
VPanel.Style.auto_  hscroll
VPanel.Style.hide_  vscroll
VPanel.Style.hide_  hscroll

image

class

class gui.VPanel():

  implements WindowChildView

  constructor (

    ~align: align :: ObsOrValue.of(View.Alignment) = [#'center, #'center],

    ~styles: styles :: ObsOrValue.of(List.of(VPanel.Style)) = [],

    ~enable: enable :: ObsOrValue.of(Boolean) = #true,

    ~spacing: spacing :: ObsOrValue.of(View.SpacingInt) = 0,

    ~margin: margin :: ObsOrValue.of(View.Margin) = [0, 0],

    ~min_size: min_size :: ObsOrValue.of(View.Size) = [#false, #false],

    ~stretch: stretch :: ObsOrValue.of(View.Stretch) = [#true, #true],

    ~window_callbacks: window_callbacks :: maybe(WindowCallbacks) = #false,

    child :: ObsOrValue.of(WindowChildView && !WindowView),

    ...

  )

Creates a panel that arranges child views vertically.

A panel style option; see gui.HPanel.Style.