Commit graph

20 commits

Author SHA1 Message Date
Adam Cosner
900b624fde fix: unused import and variable warnings 2026-04-08 02:05:20 -04:00
Ashley Wulber
1970499459 fix: capture mouse motion and mouse interactions in overlay 2026-03-05 22:02:40 +01:00
Ashley Wulber
e10459fb37 wip rebase updates 2026-03-04 12:04:32 -05:00
Hojjat Abdollahi
b9bd773940
feat: ellipsize text (#1132) 2026-02-19 10:06:45 -07:00
Michael Aaron Murphy
639326fcc3 feat(icon): optimize & bundle icons with crabtime for non-unix platforms 2025-11-21 18:37:49 +01: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
Michael Aaron Murphy
0aa518984e
chore: format for 2024 edition 2025-03-21 13:33:07 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Ashley Wulber
59407552b6 fix: apply translation to dropdown position 2024-10-22 16:11:46 -04:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Michael Aaron Murphy
9e064e7fa0 feat: configurable fonts 2024-10-05 01:47:37 +02:00
Jeremy Soller
c9a2265ab1 Make text wrap configurable 2024-07-09 11:14:49 -06:00
Ashley Wulber
f4ad098647 wip: update to use latest iced 2024-02-06 11:28:27 -05:00
Michael Aaron Murphy
74ee508427 fix(dropdown::multi): panic on missing paragraph 2023-12-09 03:51:25 +01:00
Michael Aaron Murphy
3608675358 fix(dropdown::multi): paragraphs missing in layout on first init 2023-12-05 17:12:52 +01:00
Michael Aaron Murphy
2cffbaf3a7 fix(dropdown::multi): set correct line height for descriptions 2023-12-05 17:12:52 +01:00
Ashley Wulber
fcfe9ebc59 chore: update iced 2023-12-04 17:53:24 -05:00
Ashley Wulber
0e9b46af72 update for multi-menu 2023-12-04 17:53:24 -05:00
Michael Aaron Murphy
bb7c7ac52a feat(widget): add dropdown::multi list widget 2023-11-30 22:20:12 +01:00