revisions and small fixes

This commit is contained in:
pls.153 2023-10-13 17:01:33 +02:00
parent 9633445914
commit 4bb27fb227
3 changed files with 6 additions and 2 deletions

View file

@ -141,7 +141,10 @@
(defun font-size-dialog ()
(app:confirm-dialog
(tr "Size") (tr "Message font size:") 'font-size-changed
:from 10 :to 48 :value (or (app:setting :message-font-size) 18)))
:from 10.0
:to 48.0
:value (float (or (app:setting :message-font-size)
18.0))))
(defun font-size-changed (ok) ; callback from QML
(when ok

View file

@ -11,7 +11,7 @@ Rectangle {
border.width: 1
border.color: "gray"
property int itemSize: 24
property int itemSize: 42
Column {
id: column

View file

@ -3,6 +3,7 @@ import QtQuick.Controls 2.15
Dialog {
anchors.centerIn: parent
width: 300 // needed for SailfishOS
font.pixelSize: 18
modal: true
standardButtons: Dialog.Ok | Dialog.Cancel