From 12ece5c5aead6fd1b442c6e4d979b6274c2f97a2 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 16 Oct 2024 16:00:37 +0100 Subject: [PATCH] qml: minor style changes --- qml/main.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qml/main.qml b/qml/main.qml index 1a97139..993b939 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -5,8 +5,8 @@ import QtQuick.Layouts ApplicationWindow { id: window - property var windowWidth: Math.round(fontMetrics.height * 39.2856) - property var windowHeight: Math.round(fontMetrics.height * 17.1428) + property var windowWidth: Math.round(fontMetrics.height * 32.2856) + property var windowHeight: Math.round(fontMetrics.height * 13.9528) maximumWidth: windowWidth maximumHeight: windowHeight @@ -90,7 +90,7 @@ ApplicationWindow { color: "red" font.italic: true - Layout.topMargin: fontMetrics.height + Layout.topMargin: 0 text: "" Layout.alignment: Qt.AlignHCenter