mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 14:51:14 -08:00
revisions and small fixes
This commit is contained in:
parent
9633445914
commit
4bb27fb227
3 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Rectangle {
|
|||
border.width: 1
|
||||
border.color: "gray"
|
||||
|
||||
property int itemSize: 24
|
||||
property int itemSize: 42
|
||||
|
||||
Column {
|
||||
id: column
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue