slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.47k stars 598 forks source link

Missing optional properties #6160

Closed dorukotiv closed 1 month ago

dorukotiv commented 1 month ago

Having optional properties would be extremely useful, as currently, implementing this feature requires various workarounds.

ogoffart commented 1 month ago

Thanks for your report. We already had an issue for this feature: https://github.com/slint-ui/slint/issues/5164 (I just edited it to make it more clear.) So I'm going to close this issue as duplicate of #5164, but thanks anyway for filing the issue.