Commit graph

127 commits

Author SHA1 Message Date
Vukašin Vojinović
a4c1909fc2 fix(content_col): remove spacing
Removes spacing between the footer and content, until the `resize_border` is moved.
2024-11-06 02:48:23 +01:00
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
Michael Aaron Murphy
9e064e7fa0 feat: configurable 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
Michael Aaron Murphy
5474232796 fix: widget unfocus on mouse click 2024-07-22 07:05:47 +02:00
Ashley Wulber
d35cc71b90
feat(applets): add overflow support 2024-07-16 17:15:22 +02:00
Michael Aaron Murphy
e04c9eaf6d fix: window menus now supported by windows using wayland feature 2024-07-10 16:55:28 +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
1ef1400d8b
fix: condense app to content first 2024-05-30 21:41:15 +02:00
Ashley Wulber
80879213af fix: use the user provided theme even when setting system theme
the user may have set a preferred value which should be used.
2024-05-30 13:48:16 -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
Ashley Wulber
428dafe37c fix: retry portal when it fails, and only apply theme changes when there is a relevant change 2024-05-22 15:41:56 -04: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
Michael Aaron Murphy
69bf95765d fix(core): set default window focus to window::Id::MAIN 2024-05-17 20:58:38 +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
Ashley Wulber
9292004642 feat: allow preference for dark or light system theme
also converts applet to use preferred system theme
2024-05-14 07:36:08 -04: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