Commit graph

270 commits

Author SHA1 Message Date
Jeremy Soller
a0340aac26
Center popovers without positions 2024-02-26 15:12:46 -07:00
Michael Aaron Murphy
ff9438c5ba refactor!(widget): rename view_switcher to tab_bar to match Figma docs 2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
bfc84c4759 refactor!(widget): rename segmented_selection to segmented_control to match Figma docs 2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
366a450977 improv(segmented_button): rework layout, drawing, and styling to fix visual flaws 2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
bd353c6b54 improv(widget): share object-select svg handle between widgets using it 2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
e90b584d91 improv(slider): add styling for breakpoint and right rail 2024-02-21 17:01:31 +01:00
Ian Douglas Scott
cc8033d74b
feat(header_bar): Show window menu on right click
With this, apps like cosmic-term require no changes to show the
compositor window menu when the header is right clicked.
2024-02-13 17:10:04 +01:00
Michael Aaron Murphy
6adc037f40 feat(segmented_button): add scrollable_focus to toggle focus scrolling 2024-02-12 18:16:54 +01:00
Ashley Wulber
072a3d5ca0 feat: lower the opacity of colors used in the segmented button when disabled
This is needed for the new tiling applet. Transparent text only seems to be working with the wgpu feature at the moment
2024-02-12 11:55:27 +01:00
Ashley Wulber
5738ac2055 fix(input): handle space named key 2024-02-09 11:30:29 -07:00
Ashley Wulber
3c1a60cb05 fix: build with a11y feature 2024-02-08 17:29:02 -07:00
Ashley Wulber
5530ac3254 fix: typo in resolve for segmented button 2024-02-08 07:45:03 -05:00
Ashley Wulber
5ac8f120b4 cleanup: remove extra example from text input 2024-02-06 11:28:27 -05:00
Ashley Wulber
82dfab633a refactor: make Theme a generic parameter for the button
This makes the button possible to use with custom themes in cosmic-time
2024-02-06 11:28:27 -05:00
Ashley Wulber
11ac07010b refactor: make Theme a generic parameter for the toggler
This makes the toggler possible to use with custom themes in cosmic-time
2024-02-06 11:28:27 -05:00
Ashley Wulber
989d14b206 refactor: make Theme a generic parameter for the cosmic container
This makes the container possible to use with custom themes in cosmic-time
2024-02-06 11:28:27 -05:00
Ashley Wulber
aff337f5dd chore: update iced and fix input single pointer press interaction 2024-02-06 11:28:27 -05:00
Ashley Wulber
9d479248a5 cleanup: text input 2024-02-06 11:28:27 -05:00
Ashley Wulber
0d685ba2de fix(color picker): apply update before updating text 2024-02-06 11:28:27 -05:00
Ashley Wulber
e778782328 fix: layout fixes for nav bar 2024-02-06 11:28:27 -05:00
Ashley Wulber
925f5f0993 fix: context drawer 2024-02-06 11:28:27 -05:00
Ashley Wulber
dbcd927d4b various fixes 2024-02-06 11:28:27 -05:00
Ashley Wulber
a6785de7ba cleanup: cargo fmt 2024-02-06 11:28:27 -05:00
Ashley Wulber
f4ad098647 wip: update to use latest iced 2024-02-06 11:28:27 -05:00
Jeremy Soller
0299878508 Align headerbar items 2024-01-31 10:07:04 -07:00
Jeremy Soller
1291a48d4d
Set MSRV to 1.71 2024-01-29 09:43:06 -07:00
Michael Aaron Murphy
213ede371b
fix(segmented_button): misaligned next tab button 2024-01-27 02:38:33 +01:00
Michael Aaron Murphy
135770a16d fix(segmented_button): hoverable tab pagination buttons; fixed padding 2024-01-26 23:34:07 +01:00
Michael Aaron Murphy
d5b2a2e87c feat(segmented_button): variable-width horizontal button when width is Shrink 2024-01-26 16:39:48 +01:00
Michael Aaron Murphy
d6e23fe977
fix(segmented_button): text bounds off when an icon is used 2024-01-23 22:40:12 +01:00
Michael Aaron Murphy
ca92049ab6 feat(segmented_button): paginate tabs when width is too narrow 2024-01-23 22:09:11 +01:00
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