New features
-
Stabilization of stateless widgets (#1393)
The old widget API has been completely replaced by stateless widgets (introduced in #1284). Alongside the new API, there are a bunch of new helper functions and macros for easily describing view logic (likerow!
andcolumn!
). -
First-class theming (#1362)
A complete overhaul of our styling primitives, introducing aTheme
as a first-class concept of the library. -
Widget operations (#1399)
An abstraction that can be used to traverse (and operate on) the widget tree of an application in order to query or update some widget state. -
Lazy
widget (#1400)
A widget that can call some view logic lazily only when some data has changed. Thanks to @nicksenger! -
Linear gradient support for
Canvas
(#1448)
TheCanvas
widget can draw linear gradients now. Thanks to @bungoboingo! -
Touch support for
Canvas
(#1305)
TheCanvas
widget now supports touch events. Thanks to @artursapek! -
Image
andSvg
support foriced_glow
(#1485)
Our OpenGL renderer now is capable of rendering both theImage
andSvg
widgets. Thanks to @ids1024!
Thank you! 🎉
- @0x192 exported
overlay::menu
publicly (#1425). - @13r0ck updated the documentation for the
integration
examples after a rename (#1433). - @aentity added an
application
feature toiced_winit
(#1196). - @AlistairKeiller fixed the supported backends listed in the
README
oficed_wgpu
(#1458). - @artursapek added touch support for the
Canvas
widget (#1305). - @bungoboingo
- @casperstorm changed the images in the
README
to have similar height (#1356). - @clarkmoody tweaked the system information queries (#1445).
- @Cupnfish updated
wgpu
to0.13
(#1378). - @daladim added convenience functions for
window::Icon
(#1174). - @derezzedex implemented commands to query system information (#1314).
- @fralonra
- @icedrocket enabled the
application
feature iniced_glutin
(#1502). - @ids1024
- documented that
window::Action::Move
is unsupported on Wayland (#1440) - replaced
lazy_static!
withonce_cell
(#1497) - added support for
Cow<'static, [u8]>
in theImage
andSvg
widgets (#1453) - implemented
Image
andSvg
support foriced_glow
(#1485) - fixed wrong conversion to
BGRA
before passing toimage
shaders (#1507), and - combined the
glow_default_system_font
anddefault_system_font
features (#1505).
- documented that
- @jhannyjimenez clarified the position and alignment of text in the documentation of
Canvas
(#1370). - @kaimast improved the integration of event processing for custom shells (#1230).
- @LordRatte implemented a
color!
macro helper (#1227). - @Luni-4
- @maxwell8888 added a pure version of the
color_palette
example (#1326). - @mmstick introduced additional actions for window controls (#1471).
- @mtkennerly
- added a note about the
resolver
requirement (#1339) - added missing version to the issue template (#1340)
- changed the title bar of the
PaneGrid
widget to prevent content and controls from overlapping (#1361), and - changed the title bar of the
PaneGrid
widget to still show content until hover when cramped (#1424).
- added a note about the
- @nicksenger
- @pheki removed the old
pure
feature from docs.rs build metadata (#1429). - @PolyMeilex addressed a bunch of
clippy
lints (#1379). - @RamType0 introduced
Cow
support for theText
widget (#1107). - @tarkah
- fixed processing logic of captured events for overlays (#1353)
- fixed alpha blending for MSAA in
iced_wgpu
(#1367) - allowed overriding the value of a pure
TextInput
duringdraw
(#1371) - implemented
Widget::operate
for theComponent
widget (#1402) - fixed a double translation bug in the text clipping rectangle for the
Canvas
widget (#1411) - fixed the
Tooltip
widget when inside aScrollable
(#1405) - changed the
Tooltip
text layout to not be constricted by the viewport size (#1414) - changed the rendering order of the
PaneGrid
title bar and its body (#1463) - fixed some issues with the
PaneGrid
widget (#1480) - fixed
PickList
menu not closing when inside aScrollable
(#1496) - constrained
Padding
to fit available space during layout (#1494), and - added pane maximize and restore functionality for the
PaneGrid
widget (#1504).
- @ThatsNoMoon fixed the implementation of
arc_to
for theCanvas
widget (#1358). - @thenlevy fixed some issues with the
integration_wgpu
example (#1139). - @ThisIsRex added an
is_selected
argument to theStyleSheet
of aRadio
widget (#1331). - @traxys implemented support to replace an existing DOM element when targeting Wasm (#1443).
- @xkenmon implemented a
sierpinski-triangle
example (#1136). - @xTeKc updated the test badge in the
README
(#1450). - @wash2
- @wuxianucw relaxed the
Fn
trait bounds forCommand
andAction
(#1409). - @wyatt-herkamp