From d930f0d7d37d7bb4e03c31e03bb9ddf68802b0f8 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Mon, 10 Aug 2020 17:38:56 +0200 Subject: [PATCH] Fix ffmpeg color dark styling issues --- ScreenPlay/qml/Create/FFMPEGPopup.qml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/ScreenPlay/qml/Create/FFMPEGPopup.qml b/ScreenPlay/qml/Create/FFMPEGPopup.qml index fe6db134..819057e3 100644 --- a/ScreenPlay/qml/Create/FFMPEGPopup.qml +++ b/ScreenPlay/qml/Create/FFMPEGPopup.qml @@ -148,9 +148,9 @@ Popup { verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter font.pointSize: 16 - height: 50 Layout.fillWidth: true - color: "gray" + Layout.preferredHeight: 60 + color: Material.foreground font.family: ScreenPlay.settings.font } @@ -203,8 +203,16 @@ Popup { } } - Item { + Page { width: parent.width * .66 + background: Rectangle{ + anchors.fill:parent + color: Material.theme === Material.Light ? Material.background : Qt.darker( + Material.background) + radius: 3 + } + padding: 10 + anchors { top: parent.top bottom: parent.bottom @@ -233,8 +241,7 @@ Popup { margins: 30 leftMargin: 0 } - - color: "#626262" + color: Material.foreground height: txtExpander.paintedHeight wrapMode: Text.WordWrap @@ -342,7 +349,7 @@ if you installed ScreenPlay via Steam! font.pointSize: 16 height: 50 Layout.fillWidth: true - color: "gray" + color: Material.foreground font.family: ScreenPlay.settings.font anchors { horizontalCenter: parent.horizontalCenter