Commit graph

11 commits

Author SHA1 Message Date
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
Eduardo Flores
f2e965c76c fix: dialog body overflows 2025-10-20 13:53:58 -06:00
Eduardo Flores
5b77f37fde feat: allow dialog resize 2025-06-02 04:17: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
Vukašin Vojinović
de0c1921f7 fix(list_column): match padding/spacing to designs 2024-12-02 17:43:19 +01:00
wiiznokes
5fdc2df9cd feat: optional title on dialog 2024-11-08 16:00:40 +01:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Victoria Brekenfeld
b40839638a fix: Use globals instead of thread-locals
Better support for multi-threaded applications,
especially cosmic-comp rendering in parallel on
multiple threads, each potentially accessing
global configurations such as the active theme,
icon_theme and more...
2024-08-02 20:27:08 +02:00
Jeremy Soller
7c3145828e
Make it possible to use any widget in dialog button area 2024-02-27 12:17:48 -07:00
Jeremy Soller
16aaf10b56 Add support for themed application dialog 2024-02-27 09:38:33 -07:00