Slint 0.2.1 Release
We released a bug-fix release with version 0.2.1 on Thursday.
The release mostly contains bug fixes, but also has a couple of features:
- Global singletons in .slint code may now refer to other global singletons
LineEditnow have a
input-typeproperty that can be set to
passwordto replace characters with ●
For more details see the ChangeLog
Upgrading to 0.2.1
If you're using Slint with Rust, just run
cargo update to
update to the latest release.
If you're using Slint with C++, set
GIT_TAG in your
release/0.2. This is a new branch that we've created.
We'll update it with future minor and patch releases, so that you can
conveniently stay up-to-date with the latest and greatest Slint.
Slint UI Library
We made significant progress with the microcontroller (MCU) branch this week. Our goal is to make our demo work on the Raspberry Pi Pico (RP2040 with 264KB RAM, using a 320x240 pixel screen, pixels transferred via SPI)
- MCU renderer: rounded rectangle (#1012)
- Fix support for partial rendering in the simulator (#1018)
MCU backend cleanup (#1033)
Attempt to unify a bit the features so we have less
#[cfg]in the demo. Add a README. Add a test in the CI
- MCU renderer: optimize the line processing step (#1038)
- Fork the printer demo for adjusting to the MCU (#1019)
Text Rendering and Line Breaking improvements (#1016)
Simon worked on improved line breaking, especially in the context of MCU.
This makes it easier to have have just a couple of strings in a model.
Fixed building applications with a different
CMAKE_BUILD_TYPEthan the CMake package (ebe3a3)
Fix the mapping between a projects
CMAKE_BUILD_TYPEand the build type of the imported Slint library.
LineEdit's focus ring if it is not enabled (10dc49)
Properly compute the binding priority in case of several level of
The problem is that if some bindings are coming from already inlined elements they should have a higher priority field, so that when merging the two way binding, we keep the least deep value
Properly error out when element type are used within composite types (7d6c1f)
Changes: c68291, 133688, 49c6da, 04dd40, aeb80e, cce7b0
102 patches were committed by 4 authors.