1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 15:42:12 +00:00

Fix some alignment related warnings.

This commit is contained in:
Filippo Scognamiglio
2018-10-28 01:08:21 +02:00
parent 162f59d220
commit 2ea119fb31
6 changed files with 13 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ Window{
anchors.margins: 15
spacing: 15
Text {
anchors.horizontalCenter: parent.horizontalCenter
Layout.alignment: Qt.AlignHCenter
text: "cool-retro-term"
font {bold: true; pointSize: 18}
}
@@ -69,13 +69,13 @@ Window{
Image{
Layout.fillWidth: true
Layout.fillHeight: true
anchors.horizontalCenter: parent.horizontalCenter
Layout.alignment: Qt.AlignHCenter
fillMode: Image.PreserveAspectFit
source: "images/crt256.png"
smooth: true
}
Text{
anchors.horizontalCenter: parent.horizontalCenter
Layout.alignment: Qt.AlignCenter
horizontalAlignment: Text.AlignHCenter
text: appSettings.version + "\n" +
qsTr("Author: ") + "Filippo Scognamiglio\n" +