forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user