zui docs v0.0.5
GitHub ↗
Menus, dialogs, and feedback Native Qt

Menu Separator

Menu Separator is a native Zui component in the menus, dialogs, and feedback catalog, with 8 component-specific properties.

Usage

Ruby example

Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.

Ruby
menu_separator visible: true
API

Component properties

8 component-specific values, plus shared item and layout properties.

thicknessThickness configuration for Menu Separator.property
widthWidth configuration for Menu Separator.property
heightHeight configuration for Menu Separator.property
paddingPadding configuration for Menu Separator.property
colorColor configuration for Menu Separator.property
opacityOpacity configuration for Menu Separator.property
enabledEnabled configuration for Menu Separator.property
visibleVisible configuration for Menu Separator.property
Show 12 shared item properties
scalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

showNative event payload
hideNative event payload