fix layout

This commit is contained in:
Cyril Anisimov 2025-05-20 21:56:50 +02:00
parent 117c66cd7d
commit ad32b68d84
3 changed files with 8 additions and 12 deletions

View file

@ -137,6 +137,8 @@ PageType {
Layout.fillWidth: true
Layout.topMargin: 16
Layout.leftMargin: 16
Layout.rightMargin: 16
padding: 0
height: 24

View file

@ -65,8 +65,6 @@ PageType {
id: clientSettings
Layout.fillWidth: true
Layout.leftMargin: 16
Layout.rightMargin: 16
text: protocolName + qsTr(" connection settings")
rightImageSource: "qrc:/images/controls/chevron-right.svg"
@ -99,8 +97,6 @@ PageType {
id: serverSettings
Layout.fillWidth: true
Layout.leftMargin: 16
Layout.rightMargin: 16
text: protocolName + qsTr(" server settings")
rightImageSource: "qrc:/images/controls/chevron-right.svg"
@ -141,8 +137,6 @@ PageType {
id: clearCacheButton
Layout.fillWidth: true
Layout.leftMargin: 16
Layout.rightMargin: 16
visible: root.isClearCacheVisible
@ -187,8 +181,6 @@ PageType {
id: removeButton
Layout.fillWidth: true
Layout.leftMargin: 16
Layout.rightMargin: 16
visible: ServersModel.isProcessedServerHasWriteAccess()

View file

@ -153,13 +153,10 @@ PageType {
iconPath: "qrc:/images/controls/alert-circle.svg"
}
}
footer: ColumnLayout {
width: listView.width
Rectangle {
Layout.fillWidth: true
Layout.topMargin: 16
Layout.bottomMargin: 48
Layout.rightMargin: 16
Layout.leftMargin: 16
@ -175,12 +172,17 @@ PageType {
id: configContent
anchors.fill: parent
anchors.margins: 16
wrapMode: Text.Wrap
text: ImportController.getConfig()
}
}
}
footer: ColumnLayout {
width: listView.width
BasicButtonType {
id: connectButton