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:
@@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user