-
I use a `FocusScope` to change a `selected-index` by left or right arrow key pressed. I navigate translate x of my layout to show the element on the selected-index. The change of `x` is animated. If I…
-
On macos a PopupWindow without a background rectangle is rendered like this:
![Screen Shot 2022-03-16 at 13 01 13](https://user-images.githubusercontent.com/22800467/158585529-136e6f19-73e9-4a6c-8834…
-
When using the `@linear-gradient` macro in the 2nd position of the ternary operator, just the first color value found is being used.
```
Rectangle {
background: true ? @linear-gradient(90deg…
-
![image](https://user-images.githubusercontent.com/9455094/161782566-0f85072e-cb64-4dfe-aa10-ce0000d37822.png)
-
![hangul-broken](https://user-images.githubusercontent.com/16410454/161390932-d1ee7eb6-6a75-47dc-8b74-fe738c618df1.png)
If you follow instructions below, you find that Korean characters are shown as …
-
https://slint-ui.com/releases/0.2.0/docs/rust/slint/#the-slint-code-in-external-files-is-compiled-with-buildrs
should be
```
fn main() {
slint_build::compile("ui/hello.slint").unwrap();
}
…
-
We can use Slint's Path objects to draw a route. API is pretty straightforward and we can use relative sizing using the parent objects.
Path's allow thickness and colors.
We can either draw some …
-
I've created a menubar that is largely based on the iot demo and I added it to a ScrollView. I noticed that when scrolling the view, the child items will get confused about their mouseover state. It l…
-
In my application, fairly often, I don't just need to remove an item from a list and add another one; I need to replace the list with an entirely separate list. I could use `set_` instead, but then I …
-
Maybe i'm just using the wrong syntax, or something, but if I have two structs, and one contains an array of the other, i'm having trouble initialising it's values in the slint language.
Example:
``…