Simon Hausmann

Results 493 comments of Simon Hausmann
trafficstars

I believe this issue stems from the mis-understanding that `TextInput` doesn't handle scrolling and acts as a lower-level primitive. Oliver emphasised this in #8605 . Yet, some inconsistencies remain across...

I've tried to reproduce this, but I haven't had any luck yet. Is this on Linux with wayland by chance?

> We didn't reach conclusion yet, but i think: > > * The background should extend under the border (border should be entirely purple) , this is what CSS does....

I think that may be because when passing a relative path to `load_file()` will it be resolved against the process' working directory. You could try something like this instead: `slint.load_file(os.path.join(os.path.dirname(__file__),...

Oh gosh, you're right - they're swapped. Thanks for the suggestions! ❤️ I agree, PEP 678 seems like a nice feature to use for this.

Ahh, good point. Shall I simplify the test case to not do clipping but show elision and letter spacing?

Suggestion for test case that test elision and an added letter spacing. I'd prefer a positive value for the letter spacing, because I think that's more realistic choice for real-life...

Oh, that's not a good test case in fact, because it shows a bug that the letter spacing ruins the elision :)

It works with the software renderer though ;), so a bug in femtovg. ![text_features](https://user-images.githubusercontent.com/1486/215105611-0b20536a-e228-40ad-bda5-e65c0d6b73ed.png)

That's a bug :p. The elision should only be applied to the last line when we run out of height and there are still glyphs left to place. I'm leaning...