qml: minor style changes
This commit is contained in:
parent
ce83054d0f
commit
12ece5c5ae
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue