Rio 0.5
This is a sizable release, with several quality of life improvements, bugfixes and improvements:
Improvements ✨
rio.Rectangle
is now much easier to use. Instead of wrapping up all of the styling components inside of aBoxStyle
, you can now pass thefill
,corner_radius
, and other styles directly to the rectangle.
Breaking Changes
rio.Text
now has ajustify
attribute. Previously,align_x
controlled both the position of the component itself, and the location of the text inside of the component. With this change,align_x
positions the component, whilejustify
controls where the text is placed inside of the component. This should clear up the previous confusion fromalign_x
controlling multiple properties.rio.MardownView
has been renamed torio.Markdown
. This brings it in line with our typical naming, since no other components end in View.- Another change to
rio.Text
:multiline
was replaced withwrap
.
Install 🛠️
Get it from pypi: pip install --upgrade rio-ui
🌊