From e3a193d6a6a257471ec88b66b58a912fdaa5b203 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 16 Jul 2018 09:59:43 +0200 Subject: [PATCH] Fix invisible texts in setting dropdown menu on Linux --- resources/qml/Settings/SettingComboBox.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/qml/Settings/SettingComboBox.qml b/resources/qml/Settings/SettingComboBox.qml index ed4a7b41c2..d48d2620df 100644 --- a/resources/qml/Settings/SettingComboBox.qml +++ b/resources/qml/Settings/SettingComboBox.qml @@ -116,6 +116,10 @@ SettingItem contentItem: Label { + // FIXME: Somehow the top/bottom anchoring is not correct on Linux and it results in invisible texts. + anchors.top: parent.top + anchors.bottom: parent.bottom + text: modelData.value renderType: Text.NativeRendering color: control.contentItem.color