1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 06: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

@@ -36,16 +36,17 @@ DankModal {
}
visible: dialogVisible
width: 400
height: 250
keyboardFocus: "exclusive"
width: 380
height: 190
keyboardFocus: "ondemand"
onOpened: {
textInput.forceActiveFocus()
}
onVisibleChanged: {
if (visible) {
textInput.enabled = true;
Qt.callLater(function() {
textInput.forceActiveFocus();
});
} else {
textInput.enabled = false;
}
@@ -59,8 +60,8 @@ DankModal {
content: Component {
Column {
anchors.centerIn: parent
width: parent.width - Theme.spacingL * 2
spacing: Theme.spacingL
width: parent.width - Theme.spacingM * 2
spacing: Theme.spacingM
Text {
text: dialogTitle