fix layout
This commit is contained in:
parent
117c66cd7d
commit
ad32b68d84
3 changed files with 8 additions and 12 deletions
|
@ -137,6 +137,8 @@ PageType {
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.topMargin: 16
|
Layout.topMargin: 16
|
||||||
|
Layout.leftMargin: 16
|
||||||
|
Layout.rightMargin: 16
|
||||||
|
|
||||||
padding: 0
|
padding: 0
|
||||||
height: 24
|
height: 24
|
||||||
|
|
|
@ -65,8 +65,6 @@ PageType {
|
||||||
id: clientSettings
|
id: clientSettings
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.leftMargin: 16
|
|
||||||
Layout.rightMargin: 16
|
|
||||||
|
|
||||||
text: protocolName + qsTr(" connection settings")
|
text: protocolName + qsTr(" connection settings")
|
||||||
rightImageSource: "qrc:/images/controls/chevron-right.svg"
|
rightImageSource: "qrc:/images/controls/chevron-right.svg"
|
||||||
|
@ -99,8 +97,6 @@ PageType {
|
||||||
id: serverSettings
|
id: serverSettings
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.leftMargin: 16
|
|
||||||
Layout.rightMargin: 16
|
|
||||||
|
|
||||||
text: protocolName + qsTr(" server settings")
|
text: protocolName + qsTr(" server settings")
|
||||||
rightImageSource: "qrc:/images/controls/chevron-right.svg"
|
rightImageSource: "qrc:/images/controls/chevron-right.svg"
|
||||||
|
@ -141,8 +137,6 @@ PageType {
|
||||||
id: clearCacheButton
|
id: clearCacheButton
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.leftMargin: 16
|
|
||||||
Layout.rightMargin: 16
|
|
||||||
|
|
||||||
visible: root.isClearCacheVisible
|
visible: root.isClearCacheVisible
|
||||||
|
|
||||||
|
@ -187,8 +181,6 @@ PageType {
|
||||||
id: removeButton
|
id: removeButton
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.leftMargin: 16
|
|
||||||
Layout.rightMargin: 16
|
|
||||||
|
|
||||||
visible: ServersModel.isProcessedServerHasWriteAccess()
|
visible: ServersModel.isProcessedServerHasWriteAccess()
|
||||||
|
|
||||||
|
|
|
@ -153,13 +153,10 @@ PageType {
|
||||||
|
|
||||||
iconPath: "qrc:/images/controls/alert-circle.svg"
|
iconPath: "qrc:/images/controls/alert-circle.svg"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
footer: ColumnLayout {
|
|
||||||
width: listView.width
|
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.topMargin: 16
|
||||||
Layout.bottomMargin: 48
|
Layout.bottomMargin: 48
|
||||||
Layout.rightMargin: 16
|
Layout.rightMargin: 16
|
||||||
Layout.leftMargin: 16
|
Layout.leftMargin: 16
|
||||||
|
@ -175,12 +172,17 @@ PageType {
|
||||||
id: configContent
|
id: configContent
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
anchors.margins: 16
|
||||||
|
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
|
||||||
text: ImportController.getConfig()
|
text: ImportController.getConfig()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
footer: ColumnLayout {
|
||||||
|
width: listView.width
|
||||||
|
|
||||||
BasicButtonType {
|
BasicButtonType {
|
||||||
id: connectButton
|
id: connectButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue