qml: minor style changes

This commit is contained in:
Vaxry 2024-10-16 16:00:37 +01:00
parent ce83054d0f
commit 12ece5c5ae
1 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ import QtQuick.Layouts
ApplicationWindow { ApplicationWindow {
id: window id: window
property var windowWidth: Math.round(fontMetrics.height * 39.2856) property var windowWidth: Math.round(fontMetrics.height * 32.2856)
property var windowHeight: Math.round(fontMetrics.height * 17.1428) property var windowHeight: Math.round(fontMetrics.height * 13.9528)
maximumWidth: windowWidth maximumWidth: windowWidth
maximumHeight: windowHeight maximumHeight: windowHeight
@ -90,7 +90,7 @@ ApplicationWindow {
color: "red" color: "red"
font.italic: true font.italic: true
Layout.topMargin: fontMetrics.height Layout.topMargin: 0
text: "" text: ""
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter