From e84f995585ee061aba53fedd2ff3ebea5c53c2fb Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 1 Jul 2011 12:29:23 +0200 Subject: [PATCH] WelcomeScreen: fix up layout in develop tab Change-Id: I0e8ac693e9324f680c401254a1a5e55441f672ed Reviewed-on: http://codereview.qt.nokia.com/998 Reviewed-by: Qt Sanity Bot Reviewed-by: Daniel Molkentin --- share/qtcreator/welcomescreen/develop.qml | 11 +++++------ .../welcomescreen/widgets/HeaderItemView.qml | 1 - 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/share/qtcreator/welcomescreen/develop.qml b/share/qtcreator/welcomescreen/develop.qml index 5f6fac3d2b2..93855e618c5 100644 --- a/share/qtcreator/welcomescreen/develop.qml +++ b/share/qtcreator/welcomescreen/develop.qml @@ -4,22 +4,21 @@ import components 1.0 as Components Item { id: root - Components.ScrollArea { id: scrollArea anchors.fill: parent + frame: false Item { height: Math.max(recentSessions.height, recentProjects.height) - width: root.width-40 + width: root.width-20 Widgets.RecentSessions { id: recentSessions - x: 10 - width: parent.width / 2 - 10 + width: parent.width / 2 } Widgets.RecentProjects { id: recentProjects - x: parent.width / 2 + 10 - width: parent.width / 2 - 10 + x: parent.width / 2 + width: parent.width / 2 } } } diff --git a/share/qtcreator/welcomescreen/widgets/HeaderItemView.qml b/share/qtcreator/welcomescreen/widgets/HeaderItemView.qml index 23c0466daaf..3096e014919 100644 --- a/share/qtcreator/welcomescreen/widgets/HeaderItemView.qml +++ b/share/qtcreator/welcomescreen/widgets/HeaderItemView.qml @@ -16,7 +16,6 @@ Item { anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right - anchors.topMargin: 6 } Column {