forked from qt-creator/qt-creator
Welcome: Fix up the dynamic layout fix
Change-Id: Icb068bd4522a7014a6dd48804245086a452a639d Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
NativeText {
|
||||
text: qsTr("Learn how to develop your own applications and explore Qt Creator.")
|
||||
font.pixelSize: 12
|
||||
wrapMode: Text.WordWrap
|
||||
Layout.maximumWidth: Screen.pixelDensity * 60
|
||||
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
|
||||
}
|
||||
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"
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user