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
Ashley Wulber
994e93d6d2
fix: better handling of secure inputs
2024-01-17 14:57:06 -07:00
Jeremy Soller
4e18199444
Update iced
2024-01-17 13:37:30 -07:00
Jeremy Soller
218a2e071c
Update iced
2024-01-17 13:33:39 -07:00
Ashley Wulber
6a952e9350
chore: update cosmic-protocols
2024-01-17 09:50:26 -07:00
Jeremy Soller
250c6f769c
Set default docs features
2024-01-12 10:26:08 -07:00
Jeremy Soller
8029359561
Update iced to fix docs error
2024-01-12 10:17:29 -07:00
Jeremy Soller
2137b9ebeb
Checkout submodules in pages CI
2024-01-12 10:15:20 -07:00
Jeremy Soller
5081440c41
Generate documentation and publish to github pages
2024-01-12 10:12:56 -07:00
Jeremy Soller
94a1bbdaa5
cosmic-config: pretty print config file data
2024-01-12 09:57:08 -07:00
Jeremy Soller
63802dfcf9
cosmic-config-derive: automatically generate setters
2024-01-12 09:57:08 -07:00
Jeremy Soller
2c6db80c64
cosmic-config-derive: use transaction for write_entry
2024-01-12 09:57:08 -07:00
Ashley Wulber
95bf466607
fix: scrollbar colors
2024-01-11 15:54:45 -05: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
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