Rhombus

|
class gui.VPanel(): | implements WindowChildView | constructor ( | ~align: align :: ObsOrValue.of(View.Alignment) = [#'center, #'center], | ~style: style :: ObsOrValue.of(List.of(VPanel.Style)) = [], | ~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], | ~enable: enable :: ObsOrValue.of(Boolean) = #true, | ~window_callbacks: window_callbacks :: maybe(WindowCallbacks) = #false, | child :: ObsOrValue.of(WindowChildView && !WindowView), | ... | ) |
|
Creates a panel that arranges
child views vertically. See
Geometry Management for information about
~align,
~spacing,
~margin,
~min_size, and
~stretch.
When a panel is disabled via ~enable, all content within the
panel is also disabled.
The ~window_callbacks argument configures
callbacks that are common to all WindowChildViews.
See WindowCallbacks for more information.