Ashley Wulber
8c4cb2e54f
chore: theme color updates
2025-07-21 22:59:30 +02:00
Jeremy Soller
dfdca0ef81
fix(menu): make shortcut text 75 percent opacity
2025-06-27 09:53:20 -06:00
Ashley Wulber
92ec78ba29
feat: menu bar popups
2025-06-10 18:22:07 +02:00
Ashley Wulber
1fce5df160
refactor: add optional parameter for layout offset and bounds for button handlers
...
Buttons are often used for toggling popups, so something allowing more straightforward positioning is important.
2025-05-23 19:19:42 +02:00
Vukašin Vojinović
1486569481
chore: use theme::spacing() where applicable
2025-04-02 00:33:21 +02:00
Michael Aaron Murphy
0aa518984e
chore: format for 2024 edition
2025-03-21 13:33:07 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management
2025-03-14 16:56:21 +01:00
Vukašin Vojinović
de0c1921f7
fix(list_column): match padding/spacing to designs
2024-12-02 17:43:19 +01:00
Eduardo Flores
62b0c8a401
fix: icon spacing and size
2024-11-18 08:39:37 -05:00
Eduardo Flores
e7b9c6493a
improv: icon support for menus
2024-11-18 08:39:37 -05:00
Vukašin Vojinović
127ce17b85
improv: add window border
2024-11-05 10:02:19 +01:00
Ashley Wulber
0491c4baaa
libcosmic updates
2024-10-18 14:04:39 -04:00
Jeremy Soller
973018fdb7
Fix style of menu folders
2024-09-27 09:34:37 -06:00
Jeremy Soller
cf6a35474e
Add meu item for disabled buttons
2024-09-27 09:14:03 -06:00
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