@@ -1135,9 +1135,10 @@ Page {
1135
1135
text: importWebdavUrlLabel .text
1136
1136
}
1137
1137
1138
+ width: swipeDialog .width + padding * 2
1138
1139
SwipeView {
1139
1140
id: swipeDialog
1140
- width: mainWindow .width - 60 < importWebdavUrlLabelMetrics .width ? mainWindow .width - 60 : importWebdavUrlLabelMetrics .width
1141
+ width: mainWindow .width - 60 < importWebdavUrlLabelMetrics .width + 40 ? mainWindow .width - 60 : importWebdavUrlLabelMetrics .width + 40
1141
1142
clip: true
1142
1143
interactive: false
1143
1144
@@ -1234,6 +1235,8 @@ Page {
1234
1235
}
1235
1236
1236
1237
QfToolButton {
1238
+ Layout .rowSpan : 2
1239
+ Layout .alignment : Qt .AlignVCenter
1237
1240
bgcolor: " transparent"
1238
1241
iconSource: Theme .getThemeVectorIcon (' ic_delete_forever_white_24dp' )
1239
1242
iconColor: enabled ? Theme .mainTextColor : Theme .mainTextDisabledColor
@@ -1286,9 +1289,6 @@ Page {
1286
1289
}
1287
1290
}
1288
1291
1289
- Item {
1290
- }
1291
-
1292
1292
CheckBox {
1293
1293
id: importWebdavStorePasswordCheck
1294
1294
Layout .fillWidth : true
@@ -1325,7 +1325,7 @@ Page {
1325
1325
spacing: 10
1326
1326
1327
1327
Label {
1328
- width: importWebdavUrlLabel .width
1328
+ width: parent .width
1329
1329
visible: importWebdavPathInput .visible
1330
1330
text: qsTr (" Select the remote folder to import:" )
1331
1331
wrapMode: Text .WordWrap
@@ -1335,7 +1335,7 @@ Page {
1335
1335
1336
1336
Rectangle {
1337
1337
id: importWebdavPathContainer
1338
- width: importWebdavUrlLabel .width
1338
+ width: parent .width
1339
1339
height: 340
1340
1340
color: Theme .controlBackgroundColor
1341
1341
border .color : Theme .controlBorderColor
@@ -1490,11 +1490,8 @@ Page {
1490
1490
1491
1491
QfButton {
1492
1492
id: importWebdavRefetchFoldersButton
1493
- width: importWebdavUrlLabel .width - (importWebdavRefreshFoldersIndicator .visible ? importWebdavRefreshFoldersIndicator .width : 0 )
1493
+ width: parent . parent .width - (importWebdavRefreshFoldersIndicator .visible ? importWebdavRefreshFoldersIndicator .width : 0 )
1494
1494
enabled: ! webdavConnectionLoader .item || ! webdavConnectionLoader .item .isFetchingAvailablePaths
1495
- bgcolor: " transparent"
1496
- borderColor: enabled ? Theme .secondaryTextColor : Theme .mainTextDisabledColor
1497
- color: enabled ? Theme .mainTextColor : Theme .mainTextDisabledColor
1498
1495
text: ! enabled ? qsTr (" Refreshing remote folders" ) : qsTr (" Refresh remote folders" )
1499
1496
1500
1497
onClicked: {
0 commit comments