Skip to content

Rio 0.5

Compare
Choose a tag to compare
@Sn3llius Sn3llius released this 30 May 10:34

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 a BoxStyle, you can now pass the fill, corner_radius, and other styles directly to the rectangle.

Breaking Changes

  • rio.Text now has a justify 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, while justify controls where the text is placed inside of the component. This should clear up the previous confusion from align_x controlling multiple properties.
  • rio.MardownView has been renamed to rio.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 with wrap.

Install 🛠️

Get it from pypi: pip install --upgrade rio-ui 🌊