slint/internal/core
Simon Hausmann 41affeb68f Fix element rotation when the element is translated
For example

    Image {
        x: 150px;
        y: 50px;
        rotation-angle: 45deg;
    }

will end up rendering as if x and y are zero. This is because during
the injection we "move" x and y to the Rotate
element as bindings, but due to the lack of built-in
x/y properties, dummy properties are materialized
and they are not applied for the regular per-item translation.

Add x/y to the Rotate element and then it works.
2022-08-29 17:52:37 +02:00
..
graphics janitor: Fix some typos 2022-08-29 16:53:47 +02:00
items Api cleanup: Rename some remaining platform abstractions to platform 2022-08-29 16:53:47 +02:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
model Implement std::fmt::Write for SharedString and add a format! macro 2022-08-29 17:25:24 +02:00
properties Split the properties.rs files in modules 2022-07-21 14:07:15 +02:00
swrenderer Sofware renderer: keep a Weak of the Window 2022-08-29 11:07:05 +02:00
textlayout swrenderer textlayout: fix panic when max_with is 0 2022-08-23 08:19:25 +02:00
accessibility.rs Button: Implement support to make the Button a toggle (#1384) 2022-07-08 16:17:06 +02:00
animations.rs Api cleanup: Rename some remaining platform abstractions to platform 2022-08-29 16:53:47 +02:00
api.rs API cleanup: Rename create_window to create_window_adapter 2022-08-29 16:53:47 +02:00
callbacks.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
Cargo.toml Rename and expose the unsafe-single-threaded feature 2022-08-25 16:47:53 +02:00
component.rs API cleanup: Rename PlatformWindow to WindowAdapter 2022-08-29 16:53:47 +02:00
graphics.rs Perform resolution of font properties against the window defaults in the core library 2022-07-22 23:09:08 +02:00
input.rs janitor: Fix some typos 2022-08-29 16:53:47 +02:00
item_focus.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
item_rendering.rs API cleanup: Rename PlatformWindow to WindowAdapter 2022-08-29 16:53:47 +02:00
item_tree.rs janitor: Fix nightly doc warnings about unused parentheses 2022-08-05 09:25:31 +02:00
items.rs Fix element rotation when the element is translated 2022-08-29 17:52:37 +02:00
layout.rs Upgrade to lyon 1.0 2022-07-22 19:27:49 +02:00
lengths.rs Add slint::Window::(set_)position 2022-07-08 18:37:01 +02:00
lib.rs Fixes pointed out by Olivier and CI 2022-08-29 16:53:47 +02:00
model.rs ListView: try the best to keep the listview elements consistant when scrolling 2022-07-11 19:33:05 +02:00
platform.rs Api cleanup: Rename some remaining platform abstractions to platform 2022-08-29 16:53:47 +02:00
properties.rs Rename and expose the unsafe-single-threaded feature 2022-08-25 16:47:53 +02:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
renderer.rs Fix no_std build 2022-08-10 13:07:07 +02:00
rtti.rs Declare .slint enum in one place in i-slint-common 2022-04-14 19:17:48 +02:00
sharedvector.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
slice.rs Add env variable to put data into a different section 2022-06-18 20:00:21 +02:00
string.rs Implement std::fmt::Write for SharedString and add a format! macro 2022-08-29 17:25:24 +02:00
swrenderer.rs Fixes pointed out by Olivier and CI 2022-08-29 16:53:47 +02:00
tests.rs API cleanup: Rename PlatformWindow to WindowAdapter 2022-08-29 16:53:47 +02:00
textlayout.rs Change slint enum values to be PascalCase in rust 2022-07-22 12:23:52 +02:00
timers.rs Tests for the timers 2022-08-26 10:16:18 +02:00
unsafe_single_threaded.rs Rename and expose the unsafe-single-threaded feature 2022-08-25 16:47:53 +02:00
window.rs API cleanup: Rename PlatformWindow to WindowAdapter 2022-08-29 16:53:47 +02:00

Slint Runtime Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.