Welcome: Fix up the dynamic layout fix

Change-Id: Icb068bd4522a7014a6dd48804245086a452a639d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Eike Ziller
2014-06-24 18:33:17 +02:00
parent b497a34655
commit 6cfeeee117
2 changed files with 18 additions and 11 deletions

View File

@@ -53,9 +53,9 @@ ColumnLayout {
}
Tabs {
anchors.centerIn: parent
anchors.verticalCenter: parent.verticalCenter
x: 16
id: tabs
}
Rectangle {
@@ -109,20 +109,26 @@ ColumnLayout {
font.bold: false
}
Item {
NativeText {
id: gettingStartedText
anchors.fill: parent
anchors.rightMargin: 24
text: qsTr("Learn how to develop your own applications and explore Qt Creator.")
font.pixelSize: 12
wrapMode: Text.WordWrap
Layout.maximumWidth: Screen.pixelDensity * 60
}
height: gettingStartedText.implicitHeight
implicitWidth: parent.width
}
Item {
height: 8
height: 24
width: parent.width
}
Item {
width: gettingStartedButton.width + 24
width: gettingStartedButton.width + 28
Button {
x: 4
id: gettingStartedButton
@@ -137,7 +143,6 @@ ColumnLayout {
}
ColumnLayout {
x: 14
spacing: 16
IconAndLink {
iconSource: "images/icons/qt_account.png"

View File

@@ -29,8 +29,9 @@
import QtQuick 2.1
import QtQuick.Controls 1.1 as QQControls
import QtQuick.Layouts 1.1
Column {
ColumnLayout {
id: customTab
property alias model: repeater.model
spacing: 16
@@ -48,6 +49,7 @@ Column {
id: repeater
Button {
Layout.fillWidth: true
text: title
checkable: true
exclusiveGroup: group