ribir-v0.4.0-alpha.15
Pre-release
Pre-release
M-Adoo
released this
13 Nov 00:51
·
58 commits
to master
since this release
Features
- macros: Every widget that derives
Declare
will automatically implement a macro with the same name to declare a function widget using it as the root widget. (#651 @M-Adoo) - core: Added the smooth widgets for transitioning the layout position and size. (#645 @M-Adoo)
- widgets: Added three widgets
FractionallyWidthBox
,FractionallyHeightBox
, andFractionallySizedBox
to enable fractional sizing of widgets. (#647 @M-Adoo) - widgets: Add widget of radio button (#649 @wjian23)
- core:
BuildCtx::get()
andBuildCtx::get_mut()
have been added to facilitate access from anywhere within a build context. (#650 @M-Adoo)
Fixed
- core: The
Provider
might be missing in a pipe class. (#648 @M-Adoo) - core: The child generated by the class may not be mounted. (#648 @M-Adoo)
- widgets: Changing the
flex
ofExpanded
does not trigger a relayout. (#652 @M-Adoo)
Breaking
- core:
Expanded
andKeyWidget
are not declared withFatObj
, so they do not currently support built-in widgets. (#648 @M-Adoo) - core:
DeclareObj::finish
does not accept aBuildCtx
parameter. (#650 @M-Adoo) - core: function widget no longer requires a
&mut BuildCtx
parameter. (#650 @M-Adoo) - macros: Removed the
ctx!
macro. (#650 @M-Adoo)