diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-11-10 11:39:58 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-11-10 12:29:56 +0100 |
commit | 95fea0bfc1dbd528f34b0a2d5860a225c2087e5c (patch) | |
tree | 5630963bf429b7cfd19c3be3fd30dec76cd04ee6 | |
parent | e3eaa2e4776db395fc4133cae0a09d0cb3376cf8 (diff) |
QmlDesigner.itemLibrary: use pixelSize instead of pointSize as default.
Since all units in qml are usually pixels and mobile devices
usually have much higher dpi than desktop screens, specifing font sizes
in points is usually not what a user wants to do.
Reviewed-by: Kai Koehne
-rw-r--r-- | src/plugins/qmldesigner/qtquickplugin/quick.metainfo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/qtquickplugin/quick.metainfo b/src/plugins/qmldesigner/qtquickplugin/quick.metainfo index 139a82bc056..781e6352cb7 100644 --- a/src/plugins/qmldesigner/qtquickplugin/quick.metainfo +++ b/src/plugins/qmldesigner/qtquickplugin/quick.metainfo @@ -21,6 +21,7 @@ <property name="width" type="int" value="80"/> <property name="height" type="int" value="20"/> <property name="text" type="QString" value="text"/> + <property name="font.pixelSize" type="int" value="12"/> </itemlibraryentry> </node> <node name="Qt/TextEdit" isContainer="false" icon=":/qtquickplugin/images/text-edit-icon16.png"> @@ -30,6 +31,7 @@ <property name="width" type="int" value="80"/> <property name="height" type="int" value="20"/> <property name="text" type="QString" value="textEdit"/> + <property name="font.pixelSize" type="int" value="12"/> </itemlibraryentry> </node> <node name="Qt/TextInput" isContainer="false" icon=":/qtquickplugin/images/text-input-icon16.png"> @@ -39,6 +41,7 @@ <property name="width" type="int" value="80"/> <property name="height" type="int" value="20"/> <property name="text" type="QString" value="textInput"/> + <property name="font.pixelSize" type="int" value="12"/> </itemlibraryentry> </node> <node name="Qt/MouseArea" icon=":/qtquickplugin/images/mouse-area-icon16.png"> |