Commit graph

976 commits

Author SHA1 Message Date
Jeremy Soller
b01b34df2b
Update iced to fix documentation build 2024-02-08 15:10:31 -07:00
Ashley Wulber
d0ff0b739d fix: typo in button when setting border radius 2024-02-08 07:45:22 -05:00
Ashley Wulber
5530ac3254 fix: typo in resolve for segmented button 2024-02-08 07:45:03 -05:00
Ashley Wulber
68dc09cd6c chore: update iced 2024-02-07 21:41:04 -05:00
Ashley Wulber
356500a95a chore: update iced
unpins cosmic-text
2024-02-07 11:44:48 -05:00
Ian Douglas Scott
6ebda94c79 Remove reference to wip-iced-update branch in example 2024-02-06 19:20:26 +01:00
Ian Douglas Scott
8ab7fc2276 Update iced submodule
Update to include https://github.com/pop-os/iced/pull/98.
2024-02-06 19:20:26 +01:00
Ashley Wulber
045dca649a chore: add doc comment to SurfaceClosed 2024-02-06 11:28:27 -05:00
Ashley Wulber
ff0d49672e chore: update iced 2024-02-06 11:28:27 -05:00
Ashley Wulber
487cd1737f chore: update iced 2024-02-06 11:28:27 -05:00
Ashley Wulber
054b93990b refactor: call the close requested method 2024-02-06 11:28:27 -05:00
Ashley Wulber
5606306044 chore: update iced
fix so that input accounts for modifiers
2024-02-06 11:28:27 -05:00
Ashley Wulber
5ac8f120b4 cleanup: remove extra example from text input 2024-02-06 11:28:27 -05:00
Ashley Wulber
fda17c9d97 fix: update applet button type 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
18b2b74b8d fix: button border radius 2024-02-06 11:28:27 -05:00
Ashley Wulber
5e13b18699 chore: update iced 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
40847d3bf7 chore: update with iced fix 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
c571a289b4 fix: gap between corner of window content and headerbar 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
ca1469a6b2
Implement size_limits for winit 2024-01-31 10:51:31 -07:00
Jeremy Soller
0299878508 Align headerbar items 2024-01-31 10:07:04 -07:00
Jeremy Soller
693f776f7d Allow debugging of all layout inside main view 2024-01-31 10:07:04 -07:00
Victoria Brekenfeld
bf0508816b libcosmic: Add desktop-file helpers 2024-01-31 15:10:32 +01: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
Gary Guo
3aef16bf9e improv(cosmic-config): remove hardcoded paths
This commit changes the hardcoded /usr/share paths in cosmic-config to
become performed via XDG lookups using the `xdg` crate.

This allows the installed files to be discovered on non-FHS Linux, e.g.
NixOS.

Hardcoded /var/lib/ is removed entirely because
1. nothing installs to it yet (only user of new_state is cosmic_bg
   currently and it does not install to /var/lib)
2. it's intended for system states, not template for user state.
3. it's not part of XDG spec.

On Windows the known folder crate is used.

Signed-off-by: Gary Guo <gary@garyguo.net>
2024-01-24 19:08:19 +01:00
Ashley Wulber
912e8b0a44 chore: update freedesktop-icons 2024-01-24 17:31:13 +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
0bef593ba4 feat!(dialog): refactor and support rfd as file_chooser provider 2024-01-23 22:08:21 +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
efe4ce2f5b refactor: config improvements 2024-01-18 20:19:32 -07:00
Dominic Gerhauser
3eed30f723 fix: update id in applet example 2024-01-18 20:19:22 -07:00