FloVanGH
FloVanGH
Hi, is there any update on that point. I think this is also necessary if you want to create a library with resources / themes or a custom widget library...
I found a solution to reference `Slint` files from my custom `Slint` widget library crate with a little build magic. First in the `build.rs` of my crate all new or...
@ogoffart I tried this ``` lint_build::compile_with_config("ui/main.slint", slint_build::CompilerConfiguration::new().with_include_path(vec![ env!("DEP_MYLIB_SLINT_INCLUDE_PATH").into() ])); ``` I get ``` environment variable `SLINT_INCLUDE_GENERATED` not defined --> examples/widgets/src/main.rs:10:1 | 10 | slint::include_modules!(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this...
Here you can find a template that makes it possible to ship your slint files as crate with lsp and viewer support: https://codeberg.org/flovansl/slint_lib_template and I've crated also an example https://codeberg.org/flovansl/slint_lib_template_example.
I found similar behavior on moving the mouse pointer fast on a screen with many elements that can be hovered. Sometime an unhovered elements keeps `has-hover`. In the screen to...
I have the next use case for changed handlers. The native `macOS` scroll bars are only displayed if the user start scrolling in the corresponding direction. After a short time...
It would be also great to have a possibility to check if an animation is finished like an callback.
I my case the `PopupWindow` cannot be focused message is ```sh focus() can only be called on focusable elements ``` although I set `forward-focus`. And if I try to focus...
The code for the timer picker #5087 would also profit from local variables.
Check https://github.com/slint-ui/slint/issues/3051, it's about long-press, what is needed to implement it correctly on `SpinBox`.