WelcomeScreen: fix up layout in develop tab

Change-Id: I0e8ac693e9324f680c401254a1a5e55441f672ed
Reviewed-on: http://codereview.qt.nokia.com/998
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
Daniel Molkentin
2011-07-01 12:29:23 +02:00
parent 4928ea014b
commit e84f995585
2 changed files with 5 additions and 7 deletions

View File

@@ -4,22 +4,21 @@ import components 1.0 as Components
Item { Item {
id: root id: root
Components.ScrollArea { Components.ScrollArea {
id: scrollArea id: scrollArea
anchors.fill: parent anchors.fill: parent
frame: false
Item { Item {
height: Math.max(recentSessions.height, recentProjects.height) height: Math.max(recentSessions.height, recentProjects.height)
width: root.width-40 width: root.width-20
Widgets.RecentSessions { Widgets.RecentSessions {
id: recentSessions id: recentSessions
x: 10 width: parent.width / 2
width: parent.width / 2 - 10
} }
Widgets.RecentProjects { Widgets.RecentProjects {
id: recentProjects id: recentProjects
x: parent.width / 2 + 10 x: parent.width / 2
width: parent.width / 2 - 10 width: parent.width / 2
} }
} }
} }

View File

@@ -16,7 +16,6 @@ Item {
anchors.top: parent.top anchors.top: parent.top
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.topMargin: 6
} }
Column { Column {