Open ogoffart opened 5 months ago
Another case to consider: https://github.com/slint-ui/slint/discussions/5530
property <bool> center;
// could there be a diagnostic that suggest the use of the enum name?
Text { text: "zoom:"; vertical-alignment: center; }
we should suggest to use
Colors.xyz
orEnumName.xyz
if xyz is not found and it is the value of some enum.Originally posted by @ogoffart in https://github.com/slint-ui/slint/issues/897#issuecomment-1516089199