Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++, and JavaScript. Find more information at https://slint-ui.com/ or go straight to github at https://github.com/slint-ui/slint
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
-
TextInput
andLineEdit
now have ainput-type
property that can be set topassword
to 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
CMakeLists.txt
to 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
Microcontroller

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.
New Features
-
Added
From<&str>
andFrom<SharedString>
toStandardListViewItem
(4c61a1)This makes it easier to have have just a couple of strings in a model.
Fixes
-
Fixed building applications with a different
CMAKE_BUILD_TYPE
than the CMake package (ebe3a3)Fix the mapping between a projects
CMAKE_BUILD_TYPE
and the build type of the imported Slint library.Fixes #1027
-
Don't draw
LineEdit
's focus ring if it is not enabled (10dc49) -
Properly compute the binding priority in case of several level of
inlining (8bf47a)
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
Fixes: #1026
-
Properly error out when element type are used within composite types (7d6c1f)
Fix #1021
Janitor work
Changes: c68291, 133688, 49c6da, 04dd40, aeb80e, cce7b0
Statistics
102 patches were committed by 4 authors.