Commit graph

866 commits

Author SHA1 Message Date
Vukašin Vojinović
e83e43bf1e fix(icon): always set size
Fixes an oversight in my previous commit 39a5607400.
2025-09-09 16:53:18 +02:00
Vukašin Vojinović
39a5607400 improv(icon): use correct size variant for Named
Update`Icon::size` method to correctly handle `Named` icons by using the provided size retroactively.
2025-09-09 15:57:11 +02:00
Vukašin Vojinović
066999586b
feat: add i18n support for libcosmic widgets 2025-09-05 18:50:25 +02:00
Vukašin Vojinović
ea349aca82 chore: use std::syncLazyLock
Also migrates workspace members to Rust 2024.
2025-09-03 21:54:46 +02:00
UchiWerfer
c5df9dcf88
fix(calendar): show button icons on non-Linux targets 2025-09-03 19:35:37 +02:00
Tony4dev
2dd6dce053
improv(about): support custom license URLs 2025-09-03 14:49:35 +02:00
Ian Douglas Scott
2d62503fdf
fix: don't error when default config for toolkit settings is not present 2025-08-22 22:41:12 +02:00
Jeremy Soller
8415d77b0a
feat(settings/section): support custom header widgets 2025-08-21 10:51:36 -06:00
Soso
29f38f83a3
fix(about): wrong icon size in about widget 2025-08-20 17:33:55 +02:00
Michael Aaron Murphy
e7b7c3a126 improv: enable dbus-config by default, but only for Linux targets 2025-08-20 17:31:26 +02:00
Michael Aaron Murphy
6e7a634398
fix(segmented_button): draw all indent levels 2025-08-19 16:31:19 +02:00
Michael Aaron Murphy
c10695600b
feat(segmented_button): add FileNav style with related widget improvements 2025-08-19 11:13:28 +02:00
Michael Aaron Murphy
8412dd5939
fix(image_button): improve rendering of selected image buttons 2025-08-13 21:39:29 +02:00
Michael Aaron Murphy
7712ec0021
fix(context_drawer): adjust fill portion when max_width < 392 2025-08-13 20:06:06 +02:00
Michael Aaron Murphy
95ebabf149
improv(segmented_button): hide focus state until tabbed 2025-08-13 12:20:22 +02:00
Michael Aaron Murphy
5434dc95d5
feat(segmented_button): pressed state style 2025-08-13 12:13:05 +02:00
Michael Aaron Murphy
4f423349a2
fix(segmented_button): duplicate focus fix 2025-08-13 11:18:58 +02:00
Michael Aaron Murphy
6a5076ecb7
fix(context_drawer): adjust header to avoid text wrapping 2025-08-12 22:20:28 +02:00
Ashley Wulber
989fcad99e fix(input): reset cursor and last click state on unfocus 2025-08-12 17:54:47 +02:00
Michael Aaron Murphy
8badf73383
improv(segmented_button): nav bar, tab, and segmented control theme improvements 2025-08-12 17:52:59 +02:00
Ashley Wulber
05874e8ea2 fix: theme updates 2025-07-29 16:18:50 -04:00
wiiznokes
5e136f9499
fix!(windows): remove desktop dependency for the about feature
BREAKING CHANGE: Icon must be provided as a handle instead of a string.
2025-07-28 16:33:22 +02:00
Jeremy Soller
2099dc45cb fix(header_bar): increase title portion based on maximum left or right portion 2025-07-24 15:45:03 -06:00
Ashley Wulber
1b988ed1e9 fix(theme change): make sure that all theme variables are in sync after a change 2025-07-24 12:59:36 -06:00
Ashley Wulber
c40eb87611 fix(context-menu): close menu if pressed out of bounds and open 2025-07-24 14:37:24 -04:00
Ashley Wulber
3c13669865 fix: close context menu on escape press 2025-07-24 14:37:24 -04:00
Jeremy Soller
5aa025af7d context-menu: allow borrowed content 2025-07-24 14:37:24 -04:00
Ashley Wulber
8ebd06bed0 chore: more style updates 2025-07-24 17:03:35 +02:00
Ashley Wulber
8c4cb2e54f chore: theme color updates 2025-07-21 22:59:30 +02:00
Ian Douglas Scott
b8eaad2a7e
feat: add dbus_connection() method to app::Application trait 2025-07-21 22:59:09 +02:00
Vukašin Vojinović
38dde24f96 chore(applet): add spacing field 2025-07-21 10:52:22 -04:00
Vukašin Vojinović
ec7a531539 chore: use with_alpha() where applicable 2025-07-21 10:52:22 -04:00
Ashley Wulber
0943f131c2 refactor: track focus chain 2025-07-16 22:23:13 +02:00
Ashley Wulber
50367b96e3 fix(headerbar): handle zero length segments 2025-07-08 23:07:54 +02:00
Jeremy Soller
aaa4b83577
Fix bundling of header bar icons 2025-07-01 09:30:27 -06:00
Jeremy Soller
dfdca0ef81
fix(menu): make shortcut text 75 percent opacity 2025-06-27 09:53:20 -06:00
Joshua Megnauth
46cbce033b
fix(header_bar): Windows build fix 2025-06-26 06:36:52 +02:00
Ashley Wulber
7fb514bfac fix(menu): only draw within intersection of viewport bounds 2025-06-25 19:37:52 -04:00
Michael Aaron Murphy
1af2f4ffe5
chore: format 2025-06-23 17:50:28 +02:00
Ashley Wulber
5be9611c8a fix(segmented-button): context menu state management 2025-06-19 08:02:54 -06:00
Ashley Wulber
6be5403852 improv(header): remove title if condensed and better handle large fixed size elements 2025-06-18 18:02:21 -04:00
Ashley Wulber
b0f62a5109 improv: use full root menu width when using wayland popups 2025-06-18 16:04:44 -04:00
Ashley Wulber
bf9fc4c29f fix(menu): disable slide_x for repositioned nested popups 2025-06-18 16:04:44 -04:00
Ashley Wulber
7d7274b801 fix(header-bar): allocate space that accounts for window controls 2025-06-18 09:10:37 +02:00
Ashley Wulber
00ba16fe01 refactor(menu): fallback behavior for non wayland windowing system 2025-06-12 10:21:45 -06:00
Ashley Wulber
ba72aed6fb feat: context menu popups 2025-06-11 16:46:31 -04:00
Ashley Wulber
4c6061d40a fix(menu inner): avoid unnecessary panic in debug builds. 2025-06-11 12:15:12 -04:00
Michael Aaron Murphy
3f4a50ee2c
chore: remove eprintln logs 2025-06-11 11:49:32 +02:00
Michael Aaron Murphy
8edbbec1e8
fix!(desktop): support launching terminal-based desktop entries 2025-06-11 09:26:18 +02:00
Michael Aaron Murphy
f835afa59c
fix(segmented_button): unfocus when clicking out of bounds 2025-06-11 09:26:18 +02:00