Tobias Hunger
Tobias Hunger
Looks like you indeed have the Qt5 packages of your distribution installed. That is enough to find the library at run-time. Do you have the dev package for Qt5 installed,...
I need this (or at least very similar code) to move elements around in a layout, so I thought I'd just add this as a first step.
Of course this only shows while the file does not contain anything but whitespace:-)
We need to remember which area of the document we are actually touching... otherwise this just can not work.
The latest set of commits add an ASCII start-of-text and end-of-text byte around the area covered by `slint!` macros. It then limits the actions to the range between these markers...
@panda6151025 Sorry, we were all at a conference for the last few days... @ogoffart suggested to just try that winit-only code to test whether the problem is in winit or...
0..255 is a bit short nowadays with people using 10+ bits per color in some places. Float is more future proof there. But we could also extend the color values...
Then let's go for a float between 0.0 and 1.0. That should give enough bits of precision for the foreseeable future:-) But a `f32` (no need for f64, is there?)...
That's a good point. So I'd go for `float` in the range between 0.0 and 1.0. All you need to do is multiply that with some constant to get useful...
@panekj: I just pushed a [PR](https://github.com/slint-ui/slint/pull/5336) re-licensing the gammar.js to MIT (in the mono repo) and will put a copy of MIT into LICENSE.md in that tree-sitter-slint repo once that...