14th of November 2022 to 20th of November 2022

Spotlight

Last week our community member mixedCase shared a screenshot of his cool experiment:

Wokwi running a Slint application

It's a little sample Rust project using Slint. This example is compiled for an ESP32-C3 micro-controller (MCU), runs on the Wokwi MCU simulator, within the web browser. Wokwi compiles the Rust project in a docker container, uploads the binary into the browser, which simulates the MCU and attached peripherals using JavaScript.

We see Wowki as a big stepping stone towards building interest in MCU programming by simplifying the setup dramatically. We look forward to collaborating with projects on Wokwi in the future.

Slint UI Library

New Features

  • Add support for invoking an init callback on component and element construction (#1855)

    This enables imperative code. Use sparingly :-)

Tooling

  • LSP: highlight of the selected element in the preview (#1867) Preview highlighting
  • Improve properties view in VSCode (#1871)

    avoid annoying error messages all the time when editing rust files and fix editing of properties

Changes to the .slint Language

  • Center elements by default when using the new syntax (#1861)
  • Disallow callback overrides and duplicated callback declarations (#1862)

    A duplicated callback would overwrite earlier declarations.

Fixes

  • Fix visibility property not working in for..in expressions (#1852)

    The inject_element_as_repeated_element created unnecessary width and height bindings.

    Fixes #1846

  • Material Design Style: TextEdit text not displayed (#1854)
  • remove alias pass and make sure to keep priority (#1858)

    Fixes the bug that caused empty TextEdit in the gallery.

    Generated default value without any priority means any real binding will override it.

Janitor Work

PRs: #1747, #1835, #1842, #1849, #1853, #1859, #1863, #1865, #1866

Statistics

39 patches committed in 17 pull requests by 4 authors.

← Next : 21st to 27th of November 2022 ‒ 0.3.2 Release | Previous : 7th of November 2022 to 13th of November 2022


Slint is a declarative GUI toolkit to build native user interfaces for desktop and embedded applications written in Rust, C++, or JavaScript. Find more information at https://slint.dev/ or check out the source code at https://github.com/slint-ui/slint