Commit graph

813 commits

Author SHA1 Message Date
Jeremy Soller
9fb3d874e1
fix(header_bar): shrink start and end 2024-01-10 20:56:07 +01:00
Michael Aaron Murphy
6850e53855 fix: when using wgpu, default to low power GPU
Ensures that the integrated GPU is used by default on hybrid graphics
systems; and resolves NVIDIA-related driver issues.
2024-01-10 16:28:55 +01:00
Jeremy Soller
68c760e652 Allow apps to return a command when context drawer is toggled 2024-01-09 12:07:38 -07:00
Jeremy Soller
5b2ac941c3 Fixes for menu
- Invalidate layout when menu is opened
- Align tree with menu widget when handling menu events
2024-01-09 10:13:14 -07:00
Jeremy Soller
98d6d67ab9 widget::popover: context menu positioning logic
This keeps the popup inside the parent widget bounds, logic that is
common for context menus
2024-01-06 20:52:17 -07:00
wiiznokes
0e0aed9bde
fix(menu_bar): temporarily allow invalid reference cast 2024-01-05 20:57:55 +01:00
Jeremy Soller
4674e4b23e widget::popover: add show_popup to allow disabling overlay 2024-01-05 10:56:59 -07:00
wiiznokes
1bd39b17ae fmt 2024-01-04 14:13:30 -07:00
wiiznokes
47858bf0aa bundle close, maximise and minimise icons 2024-01-04 14:13:30 -07:00
Ashley Wulber
481cd5a0cd fix: position of input label 2024-01-03 14:53:52 -05:00
Ashley Wulber
5cb818a5f9 fix: icon fallback 2024-01-03 11:06:28 -05:00
Jeremy Soller
6d8bb88087
Update iced 2024-01-02 11:45:28 -07:00
Ashley Wulber
8cc0c3b469 chore: export IconFallback 2024-01-02 12:36:58 -05:00
danieleades
a9df166740
chore: justfile improvement 2024-01-02 15:13:16 +01:00
Ashley Wulber
eff22fdb34 chore(cosmic-config): update to include state and remove ping/pong 2024-01-02 15:12:14 +01:00
Ashley Wulber
8f88833d8e cargo fmt 2024-01-02 15:12:14 +01:00
Ashley Wulber
e1c53277d9 cleanup 2024-01-02 15:12:14 +01:00
Ashley Wulber
06c33dcf06 refactor: optional config subscriptions using dbus 2024-01-02 15:12:14 +01:00
Ashley Wulber
a4d1b1b651 refactor: cosmic-config granular key updates and remove unused generics from cosmic-theme 2024-01-02 15:12:14 +01:00
Ashley Wulber
ef657fb19d fix: icon button should not use on_accent color for text when hovered 2024-01-02 15:10:16 +01:00
Ashley Wulber
cd56266ac9 chore: update example 2024-01-02 15:09:29 +01:00
Ashley Wulber
983d4d3378 feat: custom icon fallbacks 2024-01-02 15:09:29 +01:00
Ashley Wulber
a731ebc1b2 fix: set platform specific app id 2023-12-27 19:12:53 -05:00
Jeremy Soller
b8f1a366dd Add content_container flag to enable/disable wrapping content 2023-12-21 12:10:00 -07:00
Jeremy Soller
18a5c67065 Update iced 2023-12-19 17:07:35 -07:00
Jeremy Soller
11428723e5 Update iced 2023-12-19 11:09:03 -07:00
Michael Aaron Murphy
d53f693a37 fix(flex-row): awkward breakpoint after first row 2023-12-14 00:17:06 +01:00
Ashley Wulber
8725497827 chore: update iced 2023-12-13 15:29:34 -05:00
Ashley Wulber
696437506c fix: missed one corner radius in segmented buttons 2023-12-13 13:20:35 -05:00
Ashley Wulber
310064ca1d refactor: use theme corner radii everywhere
not all values matched a default value but I picked the next closest in that case
2023-12-13 13:10:39 -05:00
Michael Aaron Murphy
56965ac2e5 fix(app): closing of window in wayland 2023-12-12 15:08:24 +01:00
Ian Douglas Scott
83fbde77ab
Update dependencies (#239)
Testing this I noticed building with the `animated-image` feature is
currently failing. But that's unrelated to the changes here.
2023-12-11 14:02:17 -08:00
Ashley Wulber
493bf6c47a
fix: avoid accidentally triggering vendoring of iced_winit when not used (#238) 2023-12-11 12:59:13 -05:00
Michael Aaron Murphy
74ee508427 fix(dropdown::multi): panic on missing paragraph 2023-12-09 03:51:25 +01:00
Ashley Wulber
2b9e0c09ee fix: applet updates 2023-12-08 12:02:21 -05:00
Ashley Wulber
ba90e52848 fix: cosmic_container tag method 2023-12-08 10:06:13 -05:00
Ashley Wulber
77b8718706 fix: headerbar and multi-window example improvements 2023-12-08 10:06:13 -05:00
Ashley Wulber
685a0543cd chore: multi-window example 2023-12-08 10:06:13 -05:00
Ashley Wulber
c66e4aafd0 update to support winit multi-window 2023-12-08 10:06:13 -05:00
Jeremy Soller
77e9a160c4 Fix incorrect tree item in ContextDrawer overlay 2023-12-06 14:07:16 -07:00
Jeremy Soller
4b8fb4646b Menu: align tree in MenuBounds 2023-12-06 14:07:16 -07:00
Jeremy Soller
c2aae2e79b Menu: align tree in MenuState::layout 2023-12-06 14:07:16 -07:00
Jeremy Soller
6a8447d70f Menu: unsafe hack to diff children of flattened trees 2023-12-06 14:07:16 -07:00
Jeremy Soller
fb4669591a Menu: align tree items with menu roots in MenuBar::layout 2023-12-06 14:07:16 -07:00
Michael Aaron Murphy
3608675358 fix(dropdown::multi): paragraphs missing in layout on first init 2023-12-05 17:12:52 +01:00
Michael Aaron Murphy
2cffbaf3a7 fix(dropdown::multi): set correct line height for descriptions 2023-12-05 17:12:52 +01:00
Michael Aaron Murphy
93cee0abab fix(dropdown::multi::menu): vertically center-align separators 2023-12-05 17:12:52 +01:00
Michael Aaron Murphy
50a94d590a fix(dropdown::multi::menu): option description off center by 8 pixels 2023-12-05 17:12:52 +01:00
Michael Aaron Murphy
6181d96f00 fix(dropdown::multi::menu): panic in layout 2023-12-05 17:12:52 +01:00
Ashley Wulber
283aa2abd0 fix: rectangle tracker missing methods 2023-12-05 10:03:40 -05:00