Skip to main content

Module icon_button

Module icon_button 

Source
Expand description

Icon buttons for the ribbon (32 px), toolbars and rails (28 px): a square hit area, the icon centred, a rounded hover square, and an accent bar when the tool is active.

Structs§

IconButton

Enums§

BarSide
Where an active icon button draws its 2 px accent bar.

Functions§

group_separator
The thin border.subtle line between two ribbon groups.
ribbon_group
A ribbon group: its buttons in a row, the group label in caption size under them. Groups are separated by group_separator.
tooltip_card
The tooltip card: the name in bold, a one-line description, the shortcut in a key chip.