Vukašin Vojinović
271b71958a
fix(menu): use accent color for checkbox
...
Uses the accent color for the checkmark, to match designs.
2024-09-19 13:09:20 +02:00
Michael Aaron Murphy
f12de010ec
fix!(widget): rename button function to button::custom
2024-09-16 11:36:42 -06:00
Vukašin Vojinović
1046778d01
improv: spacing/padding fixes
2024-09-04 18:00:16 +02:00
Vukašin Vojinović
4c04792481
improv(menu): add horizontal padding to menu divider
2024-08-09 20:35:42 +02:00
Michael Aaron Murphy
bd48ad0fb5
fix(menu): use icons and fix misaligned button labels
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
31ea71deef
refactor(menu): remove redundant entity argument on MenuActions
2024-05-20 00:50:17 +02:00
Michael Aaron Murphy
1355588723
improv(button): specialize button for cosmic, and apply alpha to header buttons
2024-05-17 20:58:38 +02:00
Michael Aaron Murphy
59a913c15d
feat!(segmented_button): Add context menu support and integrations
2024-04-18 17:18:53 +02:00
Eduardo Flores
db71a32c38
improv(menu): add more types of menu items.
...
- Added `Checkbox` and `Folder` variants to `MenuItem`.
- Exported `menu_button` macro.
2024-03-18 15:06:37 +01:00
Eduardo Flores
171e697738
improv(menu): add documentation.
2024-03-16 19:00:12 -06:00
Eduardo Flores
0b47efe1de
improv(menu): simplify menu construction.
...
- Added `MenuAction` trait to call the `message` method on button press.
- Added two new methods to construct a MenuTree.
- Added MenuItem enum to represent an action or a separator in a MenuTree.
- Added menu example.
- Moved Modifier enum and KeyBind struct to libcosmic.
- Moved menu_button macro to libcosmic.
2024-03-16 19:00:12 -06:00
Ashley Wulber
f4ad098647
wip: update to use latest iced
2024-02-06 11:28:27 -05:00
Jeremy Soller
bad4400779
Add menu code, adapted from iced_aw
2023-11-16 08:06:07 -07:00