Michael Aaron Murphy
fc85fcac3e
fix(dropdown): refresh popup when selections change
2025-11-18 19:03:23 +01:00
Michael Aaron Murphy
7eecbe30d7
feat(dropdown): add Id support with custom close, open operations
2025-11-18 19:03:23 +01:00
Stephan Buys
690f1d331d
feat(desktop): add DesktopEntryCache and unit tests for known problematic entries
2025-11-13 16:02:12 +01:00
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
Ian Douglas Scott
76c1897d4d
Update iced for input_zone change
...
https://github.com/pop-os/iced/pull/241
2025-10-17 12:06:47 -07: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
d40e9fa4e4
fix: support NotShowIn
2025-10-07 21:59:45 +02:00
Ashley Wulber
dc4e0edd73
fix(input): drag threshold
2025-10-07 19:43:26 +02:00
Ashley Wulber
4c4eddb50c
fix: use is_maximized
2025-10-06 12:58:46 -06:00
Cheong Lau
a27bb5e05d
chore: apply clippy suggestions
2025-10-05 04:40:51 +02:00
Ashley Wulber
34f55d6720
fix: surface cleanup
2025-10-03 18:02:44 -04: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
Ashley Wulber
0059fe182b
refactor: set sharp corner window radius to 0 instead of unsetting
2025-10-03 18:15:27 +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
27f591e5aa
fix(corner-radius): fix radius from array to match iced and better respect sharp corners
2025-09-30 10:59:51 -04:00
Ashley Wulber
ab41b83cd8
cargo fmt
2025-09-30 10:59:51 -04:00
Ashley Wulber
9815d4d981
feat(wayland): corner-radius protocol support
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
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