From 6c02b3f9ca5eb9d6d9549c85bd7377bb790c6fdc Mon Sep 17 00:00:00 2001 From: EndrII Date: Wed, 12 May 2021 11:32:06 +0300 Subject: [PATCH] ref #64 "fix header of pop up" --- HanoiTowers/client/PopUp.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/HanoiTowers/client/PopUp.qml b/HanoiTowers/client/PopUp.qml index 2d2b74e..f3dfdb3 100644 --- a/HanoiTowers/client/PopUp.qml +++ b/HanoiTowers/client/PopUp.qml @@ -16,6 +16,16 @@ Dialog { property alias text : textContainer.text property var action: function () {} + header: Label { + id: title + text: parent.title + font.capitalization: Font.AllUppercase + font.bold: true + + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignTop + } + Label { id: textContainer