[Qt-qml] Fw: Why can't I stylesheet a font?

warwick.allison at nokia.com warwick.allison at nokia.com
Wed Jul 14 01:16:11 CEST 2010


> http://doc.qt.nokia.com/4.7-snapshot/qml-systempalette.html
> I believe that this kind of "style-sheeting" is a bad idea for QML.

I agree completely.

Certainly no-one should feel obliged to use this "system palette" when building their components. It exists merely to pass that platform information on if needed. Indeed, if you are designing a whole new user interface for a platform, then you can define whatever you like in your style guide - anything from "text should be on a contrasting background" to "text must be chartreuse and always appear on a background  gradient of red to steel blue, and the first letter should always be bold and 10% bigger" (clearly I am not a visual artist).

--
Warwick




More information about the Qt-qml mailing list