Commit b6921794 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

WelcomePage: adjusting font size and spacing



This patch adjusts the font size and spacing in the delegate
for the examples and tutorials view.

Virva Auvinen (Designer)

Change-Id: Ieec54d02effdfb6d9f3da9f6ad08fe4c3a6ff192
Reviewed-by: default avatarVirva Auvinen <virva.auvinen@nokia.com>
parent e19505b7
...@@ -56,7 +56,7 @@ QtObject { ...@@ -56,7 +56,7 @@ QtObject {
visible: false visible: false
font.family: "Helvetica" font.family: "Helvetica"
font.pixelSize: 16 font.pixelSize: 14
}, },
Text { Text {
......
...@@ -148,7 +148,7 @@ Rectangle { ...@@ -148,7 +148,7 @@ Rectangle {
color: "#7e7e7e" color: "#7e7e7e"
text: qsTr("The 2D Painting example shows how QPainter and QGLWidget. The 2D Painting example shows how QPainter and QGLWidget work together.") text: qsTr("The 2D Painting example shows how QPainter and QGLWidget. The 2D Painting example shows how QPainter and QGLWidget work together.")
anchors.top: captionItem.bottom anchors.top: captionItem.bottom
anchors.topMargin: 6 anchors.topMargin: 10
opacity: 0 opacity: 0
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 16 anchors.leftMargin: 16
...@@ -193,7 +193,7 @@ Rectangle { ...@@ -193,7 +193,7 @@ Rectangle {
color: "#dddcdc" color: "#dddcdc"
visible: false visible: false
anchors.top: captionItem.bottom anchors.top: captionItem.bottom
anchors.topMargin: 2 anchors.topMargin: 4
anchors.rightMargin: 10 anchors.rightMargin: 10
anchors.right: parent.right anchors.right: parent.right
anchors.leftMargin: 10 anchors.leftMargin: 10
...@@ -341,7 +341,7 @@ Rectangle { ...@@ -341,7 +341,7 @@ Rectangle {
anchors.leftMargin: 6 anchors.leftMargin: 6
clip: true clip: true
spacing: 4 spacing: 2
Repeater { Repeater {
id: repeater id: repeater
...@@ -352,6 +352,7 @@ Rectangle { ...@@ -352,6 +352,7 @@ Rectangle {
text: modelData text: modelData
smooth: true smooth: true
font.pixelSize: 11 font.pixelSize: 11
height: 12
font.family: "Helvetica" //setting the pixelSize will set the family back to the default font.family: "Helvetica" //setting the pixelSize will set the family back to the default
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
onEntered: { onEntered: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment