Commit graph

85 commits

Author SHA1 Message Date
Vukašin Vojinović
2ce3e95cf6 fix(app): border radius
Increases the border radius by 1.0 to prevent some corner artifacts.
2024-11-05 15:36:02 -07:00
Vukašin Vojinović
d34fd5dc2b fix: apply content padding only when content_container is true 2024-11-05 09:18:45 -07:00
Vukašin Vojinović
127ce17b85 improv: add window border 2024-11-05 10:02:19 +01:00
Ashley Wulber
d84447aaad fix: apply App::Executor to multi-window instance 2024-10-29 13:32:08 -06:00
Ashley Wulber
07763aca8e refactor: allow resetting main window id to None 2024-10-21 17:33:10 -06:00
Ashley Wulber
cf3ba4ca07 refactor: allow resetting the main window id 2024-10-21 17:37:51 -04:00
Jeremy Soller
e380b2bd81
fix(app): only set application_id on Linux 2024-10-21 09:47:38 -06:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Jeremy Soller
8da25f94e9
fix(app): limit context drawer width when not an overlay 2024-10-11 08:22:45 -06:00
Jeremy Soller
100f75f88e feat(app): footer widget 2024-10-10 19:06:48 +02:00
Michael Aaron Murphy
173a9557c2 fix(app): preload embedded Fira fonts 2024-10-05 01:47:37 +02:00
Vukašin Vojinović
e645dee2f0 fix(header_bar): increase compact height
Increases Compact header height to 40 (from 36), to better accommodate larger widgets (e.g. the search bar). This makes it distinct from the SSD header, which is now addressed by the `_` match case.
Also makes the horizontal header padding fixed at 8, so that the app window padding can also be 8.
2024-10-03 15:39:00 +02:00
Vukašin Vojinović
0a34660a80 fix: move density to cosmic_theme 2024-09-23 12:40:22 -04:00
Jeremy Soller
10f02d9d6b
Responsive context drawer width 2024-09-23 10:02:34 -06:00
Jeremy Soller
7d7c6fa71a
Fix context drawer when it is an overlay 2024-09-21 07:47:37 -06:00
Jeremy Soller
ddb678ca69
Fix spacing issue introduced in #614 2024-09-20 11:38:28 -06:00
Jeremy Soller
e56a94b783 feat(app): allow context drawer to be laid out next to content 2024-09-20 11:31:29 -06:00
Jeremy Soller
00f0699042 feat(app): add show_close for toggling close button in header bar 2024-08-26 18:16:18 +02:00
Victoria Brekenfeld
b40839638a fix: Use globals instead of thread-locals
Better support for multi-threaded applications,
especially cosmic-comp rendering in parallel on
multiple threads, each potentially accessing
global configurations such as the active theme,
icon_theme and more...
2024-08-02 20:27:08 +02:00
leb-kuchen
8e67f3ce1c
feat(headerbar): double click to maximize 2024-07-23 11:58:55 +02:00
wiiznokes
ebf5c2738b
chore: remove Clone bound on Flags 2024-06-16 20:13:56 +02:00
Ashley Wulber
552f3aefd6 feat: wrap core interface elements in id container 2024-05-30 16:57:51 -04:00
Michael Aaron Murphy
6720b8277c feat: CosmicTk::header_size density config 2024-05-29 06:25:15 -06:00
Ashley Wulber
56ff501d36 fix: wayland exit_on_close 2024-05-28 19:22:19 -06:00
Jeremy Soller
8ecf1a8edd
fix(app) set iced.window.exit_on_close_request 2024-05-28 13:58:29 -06:00
Victoria Brekenfeld
b8266b6100
improv(app): drop setting WGPU_POWER_PREF 2024-05-21 16:19:57 +02:00
Michael Aaron Murphy
aa3f5d3401
improv: impl From<M> for Message<M> 2024-05-21 01:29:50 +02:00
Michael Aaron Murphy
709ab268a0
refactor(app): iced::Command -> Command 2024-05-20 00:45:19 +02:00
Ashley Wulber
78a137214d chore: update zbus 2024-05-17 00:00:24 +02:00
Ashley Wulber
1b63c9e38b chore: update libcosmic 2024-05-15 16:19:32 -04:00
Jeremy Soller
a2e2711061
fix(settings): set iced window exit_on_close_request 2024-05-14 08:04:09 -06:00
Jeremy Soller
ac95b571ec feat: allow on_app_exit to override closing the application 2024-05-13 17:39:21 +02:00
Ashley Wulber
05a9e7639f feat: update the headerbar to match figma
i don't think the alpha is actually working for the icon, but the color should match
2024-05-13 11:22:59 -04:00
Michael Aaron Murphy
3cfc5c16a3 fix: avoid setting WGPU_POWER_PREF=low if system is desktop 2024-05-07 05:00:27 +02:00
Jeremy Soller
42cfdbf585
fix(app): restore on_context_drawer functionality that was removed in 59a913c 2024-04-26 10:22:51 -06:00
Michael Aaron Murphy
9ffb87d21f feat(context_menu): add a context menu widget as menu tree alternative to the popover widget 2024-04-22 17:25:05 +02:00
Michael Aaron Murphy
59a913c15d feat!(segmented_button): Add context menu support and integrations 2024-04-18 17:18:53 +02:00
Michael Aaron Murphy
2bfdc09a43 fix(popover): add modal property for dialogs
Fixes quirks with the context drawer and dialogs
2024-04-11 23:03:59 +02:00
Ashley Wulber
b240e3fef2 refactor: no Sync bound for Message 2024-04-02 00:12:21 +02:00
Ashley Wulber
b9cc88c492 fix: add Sync bound to Message 2024-04-01 13:40:03 -06:00
Michael Aaron Murphy
59e5f2ff38
fix(app): set window title properly with winit 2024-03-19 19:27:00 +01:00
Michael Aaron Murphy
4154428a63 feat(config): add icon theme property to CosmicTk config 2024-03-18 09:51:37 -06:00
Ashley Wulber
e47684ffdb refactor: icon styling and headerbar icon styling
Headerbar icons are transparent when their window is not focused, but otherwise share the same style as icons with selection. This updates the icon styles to match figma when selected.
2024-03-11 16:26:48 -04:00
Michael Aaron Murphy
4f07d05ee8 feat(config): add CosmicTk config for configuring window controls 2024-03-05 08:36:43 -07:00
Ashley Wulber
06b46f455b wip: support desktop portal color-scheme, and accent variables 2024-03-01 21:30:24 -05:00
Jeremy Soller
4c738572f5
fix(app): adjust default nav bar width 2024-03-01 09:09:58 -07:00
Jeremy Soller
a593f866ef
Set resize border for winit apps 2024-02-27 10:52:33 -07:00
Jeremy Soller
16aaf10b56 Add support for themed application dialog 2024-02-27 09:38:33 -07:00
Ashley Wulber
08b2e1ca38 cleanup 2024-02-14 11:05:24 -05:00
Jeremy Soller
3c5dcecf2b Changes for multiple Application support
- Add Application::main_window_id to allow ids other than MAIN
- Make Cosmic and Cosmic::app public to allow custom use
2024-02-13 10:38:35 -07:00