example 'cl-repl': add font size to modal dialogs (needed for tablets)

This commit is contained in:
pls.153 2022-12-19 16:19:39 +01:00
parent ece504d8e8
commit 7af7ee8676
2 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,8 @@ import QtQuick.Controls 2.15
Dialog {
anchors.centerIn: parent
title: "LQML"
title: "Confirm"
font.pixelSize: 18
modal: true
standardButtons: Dialog.Save | Dialog.Cancel
@ -14,6 +15,7 @@ Dialog {
id: message
width: parent.width // without width word wrap won't work
wrapMode: Text.Wrap
font.pixelSize: 18
}
onAccepted: Lisp.call(callback, true)

View file

@ -4,6 +4,7 @@ import QtQuick.Controls 2.15
Dialog {
anchors.centerIn: parent
title: "Info"
font.pixelSize: 18
modal: true
standardButtons: Dialog.Ok
@ -13,5 +14,6 @@ Dialog {
id: message
width: parent.width // without width word wrap won't work
wrapMode: Text.Wrap
font.pixelSize: 18
}
}