Commit graph

239 commits

Author SHA1 Message Date
Michael Aaron Murphy
05f8ffeef1 fix(segmented_button): clip text that overlaps with close button 2024-01-23 22:09:11 +01:00
Michael Aaron Murphy
b09b3db81a chore(widget): remove redundant search widget
The `text_input` widget's search variant replaced this.
2024-01-23 22:08:05 +01:00
Michael Aaron Murphy
507c4c97bb chore(widget): remove cosmic-settings navigation widgets 2024-01-23 22:08:05 +01:00
Michael Aaron Murphy
bb8be4e3d5 feat(segmented_button): use scroll wheel to switch between tabs 2024-01-22 16:48:18 +01:00
Michael Aaron Murphy
25eea464b9 feat(segmented_button): close tab on middle click 2024-01-22 16:48:18 +01:00
Jeremy Soller
6f5e1b5baa search widget: fix submit message 2024-01-21 12:26:01 -07:00
Ashley Wulber
994e93d6d2 fix: better handling of secure inputs 2024-01-17 14:57:06 -07:00
Ashley Wulber
8157ed5c63 feat: apply overlay to headerbar when it loses focus 2024-01-11 15:54:32 -05:00
Jeremy Soller
9fb3d874e1
fix(header_bar): shrink start and end 2024-01-10 20:56:07 +01: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
Ashley Wulber
8cc0c3b469 chore: export IconFallback 2024-01-02 12:36:58 -05: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
983d4d3378 feat: custom icon fallbacks 2024-01-02 15:09:29 +01:00
Michael Aaron Murphy
d53f693a37 fix(flex-row): awkward breakpoint after first row 2023-12-14 00:17:06 +01: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
74ee508427 fix(dropdown::multi): panic on missing paragraph 2023-12-09 03:51:25 +01:00
Ashley Wulber
ba90e52848 fix: cosmic_container tag method 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
Ashley Wulber
fcfe9ebc59 chore: update iced 2023-12-04 17:53:24 -05:00
Ashley Wulber
17bc373990 clippy fixes 2023-12-04 17:53:24 -05:00
Ashley Wulber
34e886e2d5 fix: specify that lineheight is absolute for heading 2023-12-04 17:53:24 -05:00
Ashley Wulber
0e9b46af72 update for multi-menu 2023-12-04 17:53:24 -05:00
Ashley Wulber
5f2e83b04d fix: avoid text_input paragraph updates in diff 2023-12-04 17:53:24 -05:00
Ashley Wulber
9202383596 chore: update to 0.12 2023-12-04 17:53:24 -05:00
Michael Aaron Murphy
35fea09344 fix(flex_row): missing child nodes in layout 2023-12-04 08:33:59 -07:00
Michael Aaron Murphy
bb7c7ac52a feat(widget): add dropdown::multi list widget 2023-11-30 22:20:12 +01:00
Jeremy Soller
d6c8fbe268 Bundle close and open menu icons 2023-11-28 13:22:25 -07:00
danieleades
8e99406a8b
chore: fixing linter warnings 2023-11-28 20:02:08 +01:00
Ian Douglas Scott
d1537b4c39
fix: compilation with latest taffy commit
Also adds `rev =` to `Cargo.toml` specifying the latest commit.

A library like `libcosmic` shouldn't use git dependencies without
specifying a commit or tag.
2023-11-22 20:12:59 +01:00
Jeremy Soller
001fd744c5 Allow custom position in popover 2023-11-20 10:18:10 -08:00
Ashley Wulber
ef5b6fb44a feat: add helpers for getting and using activation tokens in applets
refactor(applet): connect to privileged socket if available

cleanup
2023-11-17 19:29:11 -05:00
Jeremy Soller
1caae11e8f
fix: compilation on Windows 2023-11-17 01:36:29 +01:00