Commit graph

1564 commits

Author SHA1 Message Date
Ashley Wulber
7d7274b801 fix(header-bar): allocate space that accounts for window controls 2025-06-18 09:10:37 +02:00
Ashley Wulber
12317d8103 chore: update iced 2025-06-12 15:27:30 -04: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
Ashley Wulber
96416c2a3f fix(button): return from draw if there is no content layout 2025-06-10 18:57:06 -04:00
Ashley Wulber
7f2d34ead4 fix(menu-bar): exit early from popup creation if no root is hovered 2025-06-10 18:57:06 -04:00
Ashley Wulber
92ec78ba29
feat: menu bar popups 2025-06-10 18:22:07 +02:00
Eduardo Flores
5b77f37fde feat: allow dialog resize 2025-06-02 04:17:57 +02:00
Josh Megnauth
944c6761f7 fix(windows): Mingw doesn't support trim
Closes: #872
2025-05-29 07:28:38 +02:00
Ryan Brue
6fb4a4a43e Use size thresholds for panel sizing in libcosmic
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-05-28 15:10:00 -04:00
Ryan Brue
b73532f62f Handle Custom panel size in libcosmic
The logic here is set up to mimic the current text sizes for the hardcoded panel sizes.

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-05-28 12:54:03 -04:00
Soso
a55ed23ba8
improv!(dropdown): accept impl Into<Cow<'_, str> (#881) 2025-05-26 22:53:35 +02:00
Ashley Wulber
1fce5df160 refactor: add optional parameter for layout offset and bounds for button handlers
Buttons are often used for toggling popups, so something allowing more straightforward positioning is important.
2025-05-23 19:19:42 +02:00
Ian Douglas Scott
b61a7ebd5f
chore: update rfd and ashpd 2025-05-23 01:48:57 +02:00
Ian Douglas Scott
25322e0263
feat!: update zbus from 4.x to 5.x 2025-05-23 00:02:23 +02:00
Ashley Wulber
ce56237ab9 fix(dnd): leave event handlers should expect None as the drag Id 2025-05-22 17:18:56 +02:00
Vukašin Vojinović
a46483f161 fix(header_bar): add is_ssd field 2025-05-19 19:07:25 +02:00
Vukašin Vojinović
147fc5a2a4 improv(header_bar): reduce chance of end elements being pushed out 2025-05-19 19:07:25 +02:00
Ashley Wulber
2a1af3a24f
chore: update iced 2025-05-19 19:06:09 +02:00
UchiWerfer
b7aed0e4d6
feat(calendar): add first day of week parameter 2025-05-16 17:02:16 +02:00
Mia McMahill
d4a87bd394
fix: embed spin button and warning icons on non-linux systems 2025-05-16 17:00:35 +02:00
Jeremy Soller
c42b8ff5a5
Update iced 2025-05-15 14:15:52 -06:00
Ashley Wulber
c8c650c041 fix: text input RTL panic
RTL text will want to alight to the right, and will try to use all of an unbounded width in the input. It also tends to be offset in a negative direction.
2025-05-06 14:21:19 -04:00
Ashley Wulber
7151638f51 fix(theme mode subscription): avoid checking the keys because this interferes with the first value from the subscription
the check should be redundant, because we also later check whether the value has changed or not anyway
2025-05-01 21:40:35 -06:00
Jeremy Soller
e838616813
Update iced with support for infinite list 2025-04-30 16:32:05 -06:00
Ashley Wulber
8fa4b1cae2 fix: card style 2025-04-30 21:36:41 +02:00
Ashley Wulber
264b9d8367 chore: update iced 2025-04-30 18:40:36 +02:00
Ashley Wulber
76c7100ef4 refactor: add only_show_in filter for loaded apps 2025-04-30 12:26:08 -04:00
Michael Aaron Murphy
6763abec41
chore(cargo): update fde to 0.7.11 2025-04-30 17:13:59 +02:00
Juniper
e5802b535b
chore: add highlighter feature for iced 2025-04-24 17:26:33 +02:00
Horu
9b9d373e89
chore(task): add none function 2025-04-22 14:37:58 +02:00
Michael Aaron Murphy
7aadfe6ba6
improv(context-drawer): import definitions and add map method 2025-04-21 18:12:41 +02:00
Ashley Wulber
1abd6d7578 refactor(responsive menu): define a custom width for the collapsed menu
This can be much smaller than a regular menu to save space
2025-04-16 11:21:36 -04:00
Ashley Wulber
bbcd874d9c refactor: responsive headers should allow some options 2025-04-15 17:02:32 -04:00
Ashley Wulber
99d2478d98 cargo fmt 2025-04-14 14:16:17 +02:00
Ashley Wulber
cc3ca6ed14 refactor: applet tooltips may be for an overflow window 2025-04-14 14:16:17 +02:00
Vadim Khitrin
c2a7d63060 fix: Calculate Icons For Header Bar Individually
Based on the existing non Linux macro, we are required to calculate
icons individually.
2025-04-14 14:16:00 +02:00
Johann Tuffe
67df54f383
perf(table): sort optimizations 2025-04-11 18:19:43 +02:00
Ashley Wulber
924a9ff371 fix(input): don't ignore typing for managed inputs 2025-04-11 18:18:37 +02:00
Ashley Wulber
164f8ce155 chore: update iced 2025-04-11 08:46:08 -06:00
Dryadxon
0ddde755ee fix(about): use fde::IconSource following commit 9b9600a5d6 2025-04-07 14:33:01 -06:00
Vukašin Vojinović
3df0e5c2fe fix(app): remove context padding without content_container 2025-04-05 07:23:09 -06:00
Vukašin Vojinović
dd1b16a353 feat(scrollable): add helper for horizontal scrollables
Adds a helper function to get horizontal scrollables with COSMIC styling.
2025-04-04 18:34:55 +02:00
Vukašin Vojinović
1509163230 fix(app): match padding to designs
Also makes the maximize button change to restore when the window is maximized.
2025-04-04 18:34:55 +02:00
Michael Aaron Murphy
f7d22446c1
fix: update imports for fde and fd-icons 2025-04-04 02:37:35 +02:00
Michael Aaron Murphy
9b9600a5d6
fix(desktop): matching the wrong desktop enrties and not getting icons 2025-04-04 01:56:19 +02:00