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

sizing changes

This commit is contained in:
bbedward
2025-07-22 23:35:48 -04:00
parent 54a7281fa3
commit 9c8c25711c
8 changed files with 56 additions and 70 deletions

View File

@@ -12,9 +12,13 @@ DankModal {
property string wifiPasswordInput: ""
visible: wifiPasswordDialogVisible
width: 450
height: 280
keyboardFocus: "exclusive"
width: 420
height: 230
keyboardFocus: "ondemand"
onOpened: {
passwordInput.forceActiveFocus()
}
onVisibleChanged: {
if (!visible) {
@@ -31,16 +35,11 @@ DankModal {
Item {
anchors.fill: parent
Component.onCompleted: {
Qt.callLater(function() {
passwordInput.forceActiveFocus();
});
}
Column {
anchors.centerIn: parent
width: parent.width - Theme.spacingL * 2
spacing: Theme.spacingL
width: parent.width - Theme.spacingM * 2
spacing: Theme.spacingM
// Header
Row {