From 98cd706528aafac5372582fd8d1439fb4a16f529 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Tue, 7 Jul 2015 15:48:39 -0700 Subject: [PATCH] Add border around update details --- interface/resources/qml/UpdateDialog.qml | 31 ++++++++++++++++-------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/interface/resources/qml/UpdateDialog.qml b/interface/resources/qml/UpdateDialog.qml index 2c5d1e74a9..55468ff6ba 100644 --- a/interface/resources/qml/UpdateDialog.qml +++ b/interface/resources/qml/UpdateDialog.qml @@ -104,20 +104,31 @@ DialogContainer { } } - ScrollView { - id: scrollArea + Rectangle { width: parent.width height: updateDialog.noticeHeight - horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff - verticalScrollBarPolicy: Qt.ScrollBarAsNeeded - Text { - id: releaseNotes - wrapMode: Text.Wrap + border { + width: 1 + color: "#808080" + } + + ScrollView { + id: scrollArea width: parent.width - updateDialog.closeMargin - text: updateDialog.releaseNotes - font.pixelSize: 14 - color: "#000000" + height: parent.height + horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff + verticalScrollBarPolicy: Qt.ScrollBarAsNeeded + anchors.right: parent.right + + Text { + id: releaseNotes + wrapMode: Text.Wrap + width: parent.width - updateDialog.closeMargin + text: updateDialog.releaseNotes + font.pixelSize: 14 + color: "#000000" + } } }