mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 14:51:14 -08:00
example 'cl-repl': add font size to modal dialogs (needed for tablets)
This commit is contained in:
parent
ece504d8e8
commit
7af7ee8676
2 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue