Enyium

Results 99 comments of Enyium

But how is one supposed to implement transformations of widget values? I have a `Slider` whose `value` must be mapped to a `pow()`-distorted scale, and `LineEdit`s whose text is mapped...

@NigelBreslaw: Coincidentally, I have one case where a `Window` component property is connected to a `Slider` and a `LineEdit`. But still, you misunderstood what I was referring to with this...

This is my take on it: ```slint component SeparatorLine { in property orientation: horizontal; property overall-thickness: max(10px, 1phx); property line-thickness: max(1.2px, 1phx); states [ horizontal when orientation == Orientation.horizontal :...

In a component: ```slint changed current-item => { root.old-item = current-item; } ``` `changed` has wavy red underlining: > Change callbacks are experimental and not yet implemented in this version...

> In my experience just restarting an application is not enough to get fresh env vars on Windows In my experience, it is. It's about whether the process is a...

With [System Informer](https://systeminformer.sourceforge.io), I detected the process of the VS Code window, then found the only child process of the subtree with `slint` in the name `C:\Users\...\.vscode\extensions\slint.slint-1.7.2\bin\slint-lsp-x86_64-pc-windows-msvc.exe` and looked at...

With the nightly extension, it works (I don't get the errors anymore). Does this mean that it's only a matter of time until it also works with the regular extension?...

Another provided method that should be added is `is_empty()` like in many types in `std`.

If this is implemented via type parameter defaults, it seems that the current `MapModel` would need to be changed to `MapModel`, where the defaults are chosen in a way that...

Can't you use `F = fn(::Data) -> U` to be spared of type parameter `T` on the struct itself? The fact that `_` isn't allowed within types on item signatures,...