summaryrefslogtreecommitdiff
path: root/share/qtcreator/welcomescreen
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2011-09-28 15:44:21 +0200
committerEike Ziller <eike.ziller@nokia.com>2011-09-28 15:50:05 +0200
commitd73afb522a33b9ac9e119a011af6996d7e7aacdb (patch)
tree614c7f99d4610bac89b6bb5db961e01420ba38d5 /share/qtcreator/welcomescreen
parente8e576030092b7f5f626808739cdd8c4b0042dac (diff)
downloadqt-creator-d73afb522a33b9ac9e119a011af6996d7e7aacdb.tar.gz
WelcomePage: nicer margins for HeaderItemView
Change-Id: Ia2ebedc3ca8b2077046093b3a4e229d661ea5e01 Reviewed-on: http://codereview.qt-project.org/5729 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'share/qtcreator/welcomescreen')
-rw-r--r--share/qtcreator/welcomescreen/widgets/HeaderItemView.qml13
1 files changed, 7 insertions, 6 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/HeaderItemView.qml b/share/qtcreator/welcomescreen/widgets/HeaderItemView.qml
index 7dc1442403..462f216c20 100644
--- a/share/qtcreator/welcomescreen/widgets/HeaderItemView.qml
+++ b/share/qtcreator/welcomescreen/widgets/HeaderItemView.qml
@@ -40,7 +40,7 @@ Item {
property Component delegate
Rectangle {
- id: rectangle1
+ id: header
color: "#f2f2f2"
width: parent.width
height: 51
@@ -53,24 +53,25 @@ Item {
anchors.verticalCenter: parent.verticalCenter
width: parent.width
font.bold: true
- font.pointSize: 16
+ font.pointSize: 14
color: "#444"
elide: Text.ElideRight
- }
+ }
}
Rectangle {
height: 1
color: "#000000"
- anchors.bottom: dataSection.top
+ anchors.top: header.bottom
width: parent.width
}
Column {
id: dataSection
- anchors.topMargin: 0
- anchors.top: rectangle1.bottom
+ anchors.top: header.bottom
anchors.left: parent.left
anchors.right: parent.right
+ anchors.leftMargin: 16
+ anchors.topMargin: 16
Repeater {
model: root.model