1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 14:05:38 -05:00

fix sizing of dialogs, re-add ipcs

This commit is contained in:
bbedward
2025-07-22 23:00:09 -04:00
parent 7232d66b5d
commit 54a7281fa3
9 changed files with 64 additions and 74 deletions

View File

@@ -12,7 +12,8 @@ DankModal {
property string wifiPasswordInput: ""
visible: wifiPasswordDialogVisible
size: "medium"
width: 450
height: 280
keyboardFocus: "exclusive"
onVisibleChanged: {
@@ -27,17 +28,20 @@ DankModal {
}
content: Component {
Column {
Item {
anchors.fill: parent
anchors.margins: Theme.spacingL
spacing: Theme.spacingL
Component.onCompleted: {
Qt.callLater(function() {
passwordInput.forceActiveFocus();
});
}
Column {
anchors.centerIn: parent
width: parent.width - Theme.spacingL * 2
spacing: Theme.spacingL
// Header
Row {
width: parent.width
@@ -225,6 +229,7 @@ DankModal {
}
}
}
}
}
}