Skip to content

v0.16.6

Choose a tag to compare

@github-actions github-actions released this 18 Sep 20:51
· 354 commits to main since this release
72c2456
  • Fix focus scope Popup! widgets not focusing first descendant in some cases.

  • Add ShortcutText! widget for displaying keyboard shortcuts.

    • Add zng-wgt-shortcut crate and zng::shortcut_text module.
    • Also provides localization for key names.
    • Widget used in menu command shortcut styles and command button tooltip.
  • Improve zng::fs_watcher, resolve config desync issues.

  • Fix Markdown! whitespace merging.

  • Add zng::rule_line::collapse_scope for auto collapsing multiple separators that are adjacent due to collapsed siblings.

  • Improve Menu! default contextual styles.

    • Vr!() height is now 1.em(), making it visible in the menu Wrap! panel.
    • Add zng::menu::sub::{ButtonStyle, ToggleStyle}, these are the same menu item styles, they are now applied in the SubMenu! widget.
    • Refactor zng::menu::{ButtonStyle, ToggleStyle} to apply to only widgets in the Menu! root, as a sort of toolbar item look.
    • Add zng::menu::IconButtonStyle, an optional style for buttons in menu root that only shows the command icon.
  • Add zng::rule_line::{hr::width, vr::height} for contextually configuring the separator line length.