Added close button to changelog

Fixes Ultimaker/Cura#350
This commit is contained in:
Jaime van Kessel 2015-09-09 09:54:53 +02:00
parent e2fe27e534
commit 926ac69c71

View file

@ -14,9 +14,11 @@ UM.Dialog
width: 300 * Screen.devicePixelRatio;
height: 500 * Screen.devicePixelRatio;
title: "Changelog"
ScrollView
{
anchors.fill:parent
width: parent.width
height: parent.height - 25
Text
{
text: manager.getChangeLogString()
@ -24,4 +26,11 @@ UM.Dialog
wrapMode: Text.Wrap;
}
}
Button
{
anchors.bottom:parent.bottom
text: "close"
onClicked: base.hide()
anchors.horizontalCenter: parent.horizontalCenter
}
}