Olivier Goffart

Results 270 comments of Olivier Goffart

> What If I use the Model as a key/value map? That's not what a Model is. What would the key be in your case?

We cannot serialize everything to String. In particular, right now, we only support number, string, bool, and image that have a paths It's unclear how we should convert struct or...

This should not be hard to implement, by handling the Value::Struct and value::Model in https://github.com/slint-ui/slint/blob/5325f7234cb0662c23e0bdb6aa4731cca0ec7971/tools/viewer/main.rs#L409 to convert to json. Note that there is already code that convert these to json...

The LSP can't compile the rust code from build.rs end interpret env variables and other stuff that build.rs can do. Wou have to configure it separately. Eg: https://slint.dev/releases/1.4.1/docs/slint/src/language/syntax/modules#component-libraries

Yes true, ideally we should have a config file that both the preview and the build.rs can read. So closing this in favor of #267 build.rs shouldn't really generate files...

That's great, thank you! slint-fmt is currently not crates.io and this will mean that we will have to upload it there on next release. The reason is that slint-fmt is...

> Olivier, do you have any preferences here? I prefer using SharedVector

The idea is that people would start now by using the right value for the enum even if it doesn't work yet. But is it a good idea to already...

Note that this seems fixed in the git version. (Perhaps it is time for a release?)

The goal here is to support multiple windows. One would still need to make properties accessible in the top level, or in a global singleton component.