Ashley Wulber
2296e8e94d
feat(applets): configurable applet overlap and padding increases
2025-11-11 21:04:09 +01:00
Cheong Lau
bc744bd4e3
fix(segmented_button): use less restrictive FnOnce for builder method over Fn
2025-11-11 17:18:38 +01:00
Michael Aaron Murphy
6439507aa2
fix(icon): default to prefer_svg if symbolic
2025-11-06 07:57:03 +01:00
Vukašin Vojinović
37ae722320
fix(context_drawer): match to designs
2025-11-06 07:33:31 +01:00
Vukašin Vojinović
b6c6d1cb7b
improv(context_drawer): move title out of header row
...
This moves the title below the header row containing actions and the close button, allowing more room for the title and actions.
Also makes actions an `Element` instead of a `Vec<Element>`, providing more flexibility for developers.
2025-11-04 16:58:33 +01:00
Ashley Wulber
a1b64dde3e
fix(input): handle ctrl shortcuts with caps lock
2025-10-27 13:22:05 -04:00
Ashley Wulber
0c6c85429e
chore: update iced ( #1029 )
2025-10-27 16:24:02 +01:00
UchiWerfer
e49a30104b
added localization for month and weekday to calendar-widget
2025-10-22 04:31:38 +02:00
Cheong Lau
1d6a43486e
remove redundant clones, use mul_add on f32s
2025-10-22 04:30:57 +02:00
Cheong Lau
bd438a8581
perf: reduce memory allocations
...
This also changes `widget::column::with_children` and
`widget::row::with_children` to take an `impl IntoIterator` instead
of a `Vec`, like the `iced` variants of these functions do.
This shouldn't be a breaking change since passing in a `Vec` will still
compile and function exactly as before.
(Using `iced::widget::Column::from_vec` or
`iced::widget::Row::from_vec` isn't possible, since the elements of the
`Vec` aren't checked, so the size of the resulting `Column` or `Row`
won't adapt to the size of its children. Perhaps a new function could
be added to mirror `iced`'s?)
2025-10-22 04:30:57 +02:00
Ashley Wulber
840ef21e4d
fix(dnd_destination): Don't capture leave events
2025-10-22 04:29:04 +02:00
Ashley Wulber
2e87bd7c41
fix(segmented_button): ensure modifier state exact match for tab
2025-10-21 19:29:48 +02:00
Eduardo Flores
f2e965c76c
fix: dialog body overflows
2025-10-20 13:53:58 -06:00
Ashley Wulber
529eeebaeb
fix: avoid focus effects if already focused
2025-10-20 11:58:40 -04:00
Michael Aaron Murphy
f44d82a7e8
fix(spin_buttton): change text style to body
2025-10-14 16:28:43 +02:00
Ashley Wulber
a929829521
fix(color picker): avoid 0 in color picker slider value
2025-10-09 05:28:10 +02:00
Ashley Wulber
f17cd2928a
fix: forward events to trailing element regardless of cursor position
2025-10-09 05:28:10 +02:00
Ashley Wulber
dc4e0edd73
fix(input): drag threshold
2025-10-07 19:43:26 +02:00
Cheong Lau
a27bb5e05d
chore: apply clippy suggestions
2025-10-05 04:40:51 +02:00
Vukašin Vojinović
ad1672b881
fix: window corner handling
2025-10-03 14:28:34 -04:00
Vukašin Vojinović
5cd7742413
chore(about): styling fixes
...
Also reduces code duplication a bit.
2025-10-03 18:18:16 +02:00
Michael Aaron Murphy
6a0c06a368
chore: update taffy crate to crates.io release
2025-09-30 22:31:43 +02:00
Michael Aaron Murphy
df9df40963
chore(about): drop license dependency
...
Not needed since the application can already give URLs to their license
2025-09-30 22:31:32 +02:00
Ashley Wulber
03f07d2f1e
fix: sharp corners & window state handling
2025-09-30 10:59:51 -04:00
Ashley Wulber
9ff208e9d7
fix: if editable input is focused by operation, emit a message
2025-09-17 22:27:37 +02:00
Ashley Wulber
c01254dd18
fix(menu): overlays should be used when multi-window is not active
2025-09-17 13:50:47 +02:00
Ashley Wulber
0e797b2440
improv(input): better initial handling of focus state
2025-09-16 00:27:25 +02:00
Vukašin Vojinović
e568122083
fix(context_drawer): title alignment
...
Something caused text alignment to break, so this gets around it by wrapping the text in a container.
2025-09-11 10:49:26 -04:00
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
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
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
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
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