Fix: dialog sizes and positioning.

This commit is contained in:
Filippo Scognamiglio 2014-12-11 12:35:31 +01:00
parent 7b7eba1c7c
commit dbdd7f3705

View File

@ -6,8 +6,8 @@ import QtQuick.Window 2.0
Window{
id: dialogwindow
title: qsTr("About")
width: 450
height: 300
width: 600
height: 400
ColumnLayout{
anchors.fill: parent
@ -64,15 +64,13 @@ Window{
ColumnLayout{
anchors.fill: parent
spacing: 10
Item{
Layout.fillHeight: true
Image{
Layout.fillWidth: true
Image{
anchors.fill: parent
fillMode: Image.PreserveAspectFit
source: "images/crt256.png"
smooth: true
}
Layout.fillHeight: true
anchors.horizontalCenter: parent.horizontalCenter
fillMode: Image.PreserveAspectFit
source: "images/crt256.png"
smooth: true
}
Text{
anchors.horizontalCenter: parent.horizontalCenter