Héctor Ramón Jiménez
c6d9221ee4
Round paragraph position until we implement subpixel glyph positioning
2023-05-08 16:20:05 +02:00
Héctor Ramón Jiménez
180cb073bd
Add line_height to checkbox::Icon
2023-05-08 16:19:28 +02:00
Héctor Ramón Jiménez
16bf8fc762
Export Shaping and LineHeight in widget::text
2023-05-08 15:37:29 +02:00
Héctor Ramón Jiménez
b8c2cca384
Merge branch 'master' into advanced-text
2023-05-08 14:53:36 +02:00
Héctor Ramón Jiménez
91ef07e6eb
Warn about unsupported primitives in iced_wgpu
2023-05-08 14:51:53 +02:00
Héctor Ramón Jiménez
2bc4880d00
Warn about unsupported primitives in iced_tiny_skia
2023-05-08 14:51:06 +02:00
Héctor Ramón Jiménez
c189ef62a6
Use LineHeight::default in iced_wgpu::layer
2023-05-08 14:46:56 +02:00
Héctor Ramón
bc62013b6c
Merge pull request #1831 from iced-rs/fix/menu-selected-option-bounds
...
Fix `bounds` of selected option background in `Menu`
2023-05-06 09:16:24 +02:00
Héctor Ramón Jiménez
00700a4742
Fix bounds of selected option background in Menu
2023-05-05 09:52:47 +02:00
Héctor Ramón
7ae549aba8
Merge pull request #1828 from iced-rs/feature/line-height
...
Support configurable `LineHeight` in text widgets
2023-05-05 06:38:33 +02:00
Héctor Ramón Jiménez
9499a8f9e6
Support configurable LineHeight in text widgets
2023-05-04 18:39:31 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text
2023-05-02 06:40:48 +02:00
Héctor Ramón
2d7d9a130e
Merge pull request #1822 from iced-rs/basic-shaping
...
`text::Shaping` strategy selection
2023-05-02 03:30:06 +02:00
Héctor Ramón Jiménez
edf3432bf5
Update glyphon and cosmic-text
2023-05-02 01:02:33 +02:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean
2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy
2023-05-02 01:02:13 +02:00
Héctor Ramón
57a276e165
Merge pull request #1814 from ids1024/advanced-text
...
Do not require `Copy` for text `StyleSheet::Style`
2023-04-28 19:41:40 +02:00
Ian Douglas Scott
47016a37df
Do not require Copy for text StyleSheet::Style
...
For most widgets, `Style` only requires `Default`. A few require
`Clone`. Only this one requires `Copy`.
Some of the types in the default theme has a custom variant requiring
`Box<dyn Trait>`, or `Rc<dyn Trait>` to provide `Clone`, but this isn't
possible if `Copy` is required.
It would be good to also address the inconsistency of requiring `Clone`
in some places and not others.
This removes `style/src/text.rs` which is unused in this branch and thus
confusing. If there's a reason to keep it, that can be removed from the
change.
2023-04-28 10:14:15 -07:00
Héctor Ramón
c8952ee4a1
Merge pull request #1815 from kr105/master
...
Fix broken issue link in `ROADMAP.md`
2023-04-28 15:28:10 +02:00
Carlos Pizarro
dcc9a70734
Fix small typo on ROADMAP.md
...
Link works properly now
2023-04-28 08:36:14 -04:00
Héctor Ramón
c31ab8eee6
Merge pull request #1811 from iced-rs/incremental-rendering
...
Incremental rendering
2023-04-27 16:09:39 +02:00
Héctor Ramón Jiménez
a755472ee3
Remove unnecessary last_ prefix in Surface of iced_tiny_skia
2023-04-27 15:51:51 +02:00
Héctor Ramón Jiménez
eb1b2bf241
Invalidate last_primitives on resize in iced_tiny_skia
2023-04-27 15:45:02 +02:00
Héctor Ramón Jiménez
38f82ab35f
Expand damage regions of Clip primitives a bit
2023-04-27 15:25:59 +02:00
Héctor Ramón Jiménez
200a29c069
Fix unused import in triangle pipeline for Wasm target in iced_wgpu
2023-04-27 15:17:45 +02:00
Héctor Ramón Jiménez
88d3247717
Fix build of integration example for Wasm target
2023-04-27 15:17:06 +02:00
Héctor Ramón Jiménez
92d808ee73
Fix double reference in compositor in iced_tiny_skia
2023-04-27 15:16:05 +02:00
Héctor Ramón Jiménez
af0303f95e
Move damage tracking logic to compositor in iced_tiny_skia
2023-04-27 15:10:41 +02:00
Héctor Ramón Jiménez
d953d12c38
Fix incorrect wgpu version for Wasm builds in iced_wgpu
2023-04-26 16:48:41 +02:00
Héctor Ramón Jiménez
9c63eb7df5
Update tiny-skia and resvg
2023-04-26 16:46:27 +02:00
Héctor Ramón Jiménez
e63cc181bd
Fix Candidate::build in compositor of iced_renderer
2023-04-26 16:28:47 +02:00
Héctor Ramón Jiménez
f0fa5f76cb
Remove debug overlay from iced_tiny_skia for now
2023-04-26 16:15:53 +02:00
Héctor Ramón Jiménez
d6345ff122
Remove dbg! statement leftover
2023-04-26 16:11:35 +02:00
Héctor Ramón Jiménez
435b54e57e
Revert "Use pixels for presentation in iced_tiny_skia when possible"
...
This reverts commit 16e6efe020 .
2023-04-26 16:09:36 +02:00
Héctor Ramón
78924fa299
Merge pull request #1807 from Davidster/wgpu_16_w_glypth_20
...
Wgpu 0.16
2023-04-21 21:58:32 +02:00
Héctor Ramón
501b6b8800
Merge pull request #1799 from tarkah/fix/responsive-layout
...
Invalidate responsive layout when shell layout is invalidated
2023-04-21 21:53:11 +02:00
Héctor Ramón Jiménez
cc20baad6f
Use find(..) instead of filter(..).next()
2023-04-21 21:46:02 +02:00
Héctor Ramón Jiménez
ecc1a4509a
Avoid cloning layout::Node in Responsive widget
2023-04-21 21:40:43 +02:00
Héctor Ramón Jiménez
3f0c226b74
Use point-free notation
2023-04-21 21:36:30 +02:00
David Huculak
cbb2ba38fa
remove unused import
2023-04-20 21:38:52 -04:00
David Huculak
8122904ca4
wgpu 0.16
2023-04-20 21:28:47 -04:00
Héctor Ramón
99fc717b7c
Merge pull request #1804 from tarkah/fix/scroll-to-imports
...
Export scroll_to helper
2023-04-21 01:03:57 +02:00
Cory Forsstrom
a38bf092a8
Export scroll_to helper
2023-04-20 13:34:38 -07:00
Héctor Ramón
4052ccf2b5
Merge pull request #1796 from tarkah/feat/scrollable-scroll-to
...
Add `scroll_to` operation
2023-04-20 16:09:15 +02:00
Héctor Ramón Jiménez
8a711408de
Compare absolute offsets as well in notify_on_scroll
2023-04-20 15:48:34 +02:00
Héctor Ramón Jiménez
2155d0af1f
Bump version of iced_native 🎉
2023-04-20 15:31:15 +02:00
Héctor Ramón
e96f26f357
Merge pull request #1802 from casperstorm/fix/text_input_icon_misalignment
...
Center `TextInput::Icon` vertically
2023-04-20 15:30:09 +02:00
Héctor Ramón Jiménez
477d9bd6ad
Bump version of iced_native 🎉
2023-04-20 15:26:26 +02:00
Héctor Ramón Jiménez
2e9129582a
Fix sliders drawing out of their bounds
2023-04-20 15:25:37 +02:00
Casper Rogild Storm
399a22e61d
Centered icon vertically
2023-04-20 12:17:11 +02:00