Josh Megnauth
bdf18554fe
Check LineHeight > 0.0 before allocating text
2023-09-04 23:47:44 -04:00
Josh Megnauth
20681b4777
Ensure LineHeight is always > 0.0 for tiny skia.
2023-09-04 21:03:16 -04:00
Héctor Ramón Jiménez
34876aea5e
Add GitHub CI workflow to detect outdated dependencies
2023-09-04 13:41:21 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
...
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Josh Megnauth
ef429fbea6
Ensure LineHeight > 0.0 for the WGPU renderer
2023-09-04 02:58:54 -04:00
Héctor Ramón
a56b25b909
Merge pull request #2068 from iced-rs/webgpu-by-default
...
Enable WebGPU backend in `wgpu` by default instead of WebGL
2023-09-04 04:04:01 +02:00
Héctor Ramón Jiménez
685e44587c
Enable unstable web-sys APIs on CI
2023-09-04 03:46:41 +02:00
Héctor Ramón Jiménez
bb49a22996
Enable WebGPU backend in wgpu by default instead of WebGL
...
Instead, we expose a new `webgl` feature.
2023-09-04 03:28:45 +02:00
Héctor Ramón Jiménez
837529bc99
Fix Wasm build of todos example
2023-09-04 03:02:46 +02:00
Héctor Ramón Jiménez
34495bba1c
Introduce keyed::Column widget
2023-09-04 02:55:09 +02:00
David Huculak
76cec1b1fd
use @interpolate(flat) attribute as per the WebGPU spec:
...
User-defined vertex outputs and fragment inputs of scalar or vector integer type must always be specified as @interpolate(flat)
https://www.w3.org/TR/WGSL/#interpolation
2023-09-03 19:32:38 -04:00
Héctor Ramón
2c51e3478b
Merge pull request #2046 from dtzxporter/dtzxporter-patch-1
...
Support automatic style type casting for Buttons.
2023-09-03 09:10:16 +02:00
Héctor Ramón
63c5f6278b
Merge branch 'master' into dtzxporter-patch-1
2023-09-03 08:55:57 +02:00
Héctor Ramón
404f4974a3
Merge pull request #2062 from akshayr-mecha/master
...
fix(examples-styling): fixed checkbox and toggler getting hidden behind scrollbar
2023-09-03 08:55:10 +02:00
Héctor Ramón Jiménez
982ea578be
Stop verifying the CHANGELOG on every PR
...
It's a real pain to keep it up-to-date. Way easier
to generate it with a script before release.
2023-09-03 08:43:58 +02:00
Héctor Ramón Jiménez
89d31913db
Update CHANGELOG
2023-09-03 08:43:12 +02:00
Héctor Ramón Jiménez
28252e6408
Update CHANGELOG
2023-09-03 08:41:08 +02:00
Nick
aed06ac208
Support automatic style type casting for Buttons.
...
Changes the signature of Button::style to use `impl Into<...>` instead of taking the style sheet itself. (Matches other widgets).
2023-09-03 08:38:49 +02:00
Héctor Ramón
20bf01a551
Use Length::Fill instead of fixed length in styling example
2023-09-03 08:33:02 +02:00
Akshay Raina
3a44ad3c73
fix(examples-styling): fixed checkbox and toggler getting hidden behind scrollbar
...
Column inside scrollable is having Length::Fill so it is taking entire width thus hiding check box and toggler.
Added fixed width to scrollable so Lenth::Fill will be relative to fixed width
2023-09-03 08:33:02 +02:00
Héctor Ramón Jiménez
1a1da6a1f0
Remove unnecessary mutable reference in iced_tiny_skia
2023-09-03 08:11:36 +02:00
Héctor Ramón Jiménez
8129e2c208
Implement draw_paragraph in iced_tiny_skia
2023-09-03 08:08:27 +02:00
Héctor Ramón
3b0d1b1ed4
Merge pull request #2067 from iced-rs/custom-extended-palette-generation
...
Introduce `theme::Custom::with_fn` to generate completely custom themes
2023-09-03 02:41:56 +02:00
Héctor Ramón Jiménez
624d5c2c64
Update CHANGELOG
2023-09-03 02:31:12 +02:00
Héctor Ramón Jiménez
832d9f1b01
Introduce theme::Custom::with_fn to generate completely custom themes
2023-09-03 01:34:13 +02:00
Héctor Ramón Jiménez
9b9b37e6f8
Fix adapter selection loop in iced_wgpu
2023-09-03 01:14:22 +02:00
Héctor Ramón Jiménez
0b28080d3e
Remove redundant into_iter call in iced_wgpu
2023-09-03 01:05:17 +02:00
Héctor Ramón Jiménez
020fb3c377
Fix iced_wgpu device selection on Wasm
2023-09-03 01:04:23 +02:00
Héctor Ramón
52b3f69e35
Merge pull request #2065 from iced-rs/update-wgpu
...
Update `wgpu` to `0.17`
2023-09-03 00:44:31 +02:00
Héctor Ramón Jiménez
d518e7d423
Update wgpu for Wasm
2023-09-03 00:28:05 +02:00
Héctor Ramón Jiménez
d4f5dd7c95
Update CHANGELOG
2023-09-03 00:24:09 +02:00
Héctor Ramón Jiménez
6cc354fdc4
Update wgpu to 0.17
2023-09-03 00:21:04 +02:00
Héctor Ramón Jiménez
601e5563d1
Fix Widget::layout for Lazy
2023-09-01 04:15:59 +02:00
Héctor Ramón Jiménez
548b9d0294
Fix Widget::layout for Component
2023-09-01 04:15:09 +02:00
Héctor Ramón Jiménez
6758de2b43
Fix Default implementation for Paragraph
2023-09-01 04:14:06 +02:00
Héctor Ramón Jiménez
51e69d7040
Replace MaybeUninit with Option in paragraph
2023-09-01 04:04:15 +02:00
Héctor Ramón Jiménez
935c722a27
Use Arc::try_unwrap in Paragraph
...
We use `MaybeUninit` here instead of `Option` to save some cycles, but
I will most likely change it for an `Option` since unsafe code is quite
scary.
2023-09-01 03:59:57 +02:00
Héctor Ramón Jiménez
ce22d661fa
Remove Clone implementation for Paragraph
2023-09-01 03:25:29 +02:00
Héctor Ramón Jiménez
252a05c7f4
Update CHANGELOG
2023-08-30 07:26:48 +02:00
Héctor Ramón Jiménez
b51ffe53ed
Fix unnecessary dereference in widget::text
2023-08-30 06:44:40 +02:00
Héctor Ramón Jiménez
bcd9fdb521
Simplify new logic in TextInput
2023-08-30 06:43:45 +02:00
Héctor Ramón Jiménez
a026e917d3
Make widget::Tree mutable in Widget::layout
2023-08-30 06:36:24 +02:00
Héctor Ramón Jiménez
301e6e5fdc
Reduce default spacing of Checkbox
2023-08-30 05:34:17 +02:00
Héctor Ramón Jiménez
ffd0f4df45
Add some default spacing for Toggler
2023-08-30 05:34:01 +02:00
Héctor Ramón Jiménez
c44611cc7d
Fix vertical alignment in layout::next_to_each_other
2023-08-30 05:33:39 +02:00
Héctor Ramón Jiménez
89acf0217e
Use min_bounds for cached text
2023-08-30 05:06:08 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree
2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
c9bd48704d
Replace GitHub discussions with Discourse
2023-08-26 19:32:09 +02:00
Héctor Ramón Jiménez
8ed06dc356
Fix clippy lints for Rust 1.72
2023-08-26 01:34:42 +02:00
Héctor Ramón Jiménez
e0eb19d4cd
Fix consistency of Discourse badge in README
2023-08-26 01:32:08 +02:00