Slint

Latest version: v1.6.0a7

Safety actively analyzes 623721 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

1.6.0

General

- The minimum Rust version is now 1.73.
- FemtoVG renderer: Fixed selection of italic font styles. (5056)
- Fixed color animation involving transparency. (5063)
- Android: Fixed support for Android 10 to 12 and Java 1.8.
- Android: Fixed build if the locale is not UTF-8.
- Android: Added cursor handle on TextInput and selection handle with cut/copy/paste menu.
- Software renderer: Dirty regions can now be composed of multiple rectangles.
- Added a function to mark all translations as dirty.

Slint Language

- Text: Added `stroke`, `stroke-width`, and `stroke-style` properties.
- Added `Colors.hsv()` method to create colors in the HSV color space.
- Added `to-hsv()` function to color.
- Throw an error when `rgb()` or `argb()` have too many arguments.
- Added support for `accessible-action-*`.
- Fixed insertion point of `children` when it is not the last child. (4935)
- Deprecated usage of internal `StyleMetrics` in the public API.
- Fixed compiler panic with state property change involving a state in a parent component. (5038)
- Fixed interpreter overwriting property named `index`. (4961)
- Fixed compiler panic when a callback aliases itself. (4938)
- Fixed compiler panic when an init from a repeater is inlined into the parent component (5146)
- Added `clear-focus()` function to focusable elements, to allow for programmatic focus clearing.

Widgets

- Palette: Added `color-scheme` in-out property for accessing the style's color scheme.
- Accessibility: Annotated more widgets with accessible properties and actions.
- Qt style: Fixed rendering of focused or hovered ComboBox and CheckBox.
- Qt style: Fixed widget that would react to every mouse button instead of only the left button.
- SpinBox: Fixed scroll direction.
- Allow scrolling through tabs.
- Updated TabWidget in Cosmic style.
- Added a `released` callback to `Slider`.
- Fixed text and selection color of TextEdit and LineEdit.
- Spinbox and Slider: The value now defaults to the minimum.

Rust API

- Added conversion of Color to and from HSV.
- Added getter to the `raw-window-handler` of a window using the `raw-window-handle-06` feature.

C++ API

- Workaround breaking change in the build with Rust 1.79 (see https://github.com/corrosion-rs/corrosion/issues/501)
- Added conversion of Color to and from HSV.
- Fixed code generation of functions that don't return.
- Fixed the `MapModel::reset` function. (4968)
- Fixed compilation of the generated code when an animated brush property is set in a sling callback.
- Added include guard to the generated header.

LSP and tooling

- Design mode of the live preview can now drag into and from layout. With a drop marker when dragging an element.
- Fixed formatting of function declarations.
- Added `-L` command line args to `slint-lsp` to specify path of external libraries (5144)
- VSCode extension highlights Slint code blocks in markdown files.
- `slint-viewer` will properly reload files saved with neovim, which renames and replaces files (3941)

1.5.1

1.5.0

1.4.1

1.4.0

1.3.2

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.