diff --git a/kcms/fonts/package/contents/ui/main.qml b/kcms/fonts/package/contents/ui/main.qml --- a/kcms/fonts/package/contents/ui/main.qml +++ b/kcms/fonts/package/contents/ui/main.qml @@ -138,6 +138,7 @@ enabled: antiAliasingComboBox.currentIndex == 0 popup.height: popup.implicitHeight delegate: QtControls.ItemDelegate { + Kirigami.Theme.colorSet: Kirigami.Theme.View id: subPixelDelegate onWidthChanged: { subPixelCombo.popup.width = Math.max(subPixelCombo.popup.width, width) @@ -175,6 +176,7 @@ enabled: antiAliasingComboBox.currentIndex == 0 popup.height: popup.implicitHeight delegate: QtControls.ItemDelegate { + Kirigami.Theme.colorSet: Kirigami.Theme.View id: hintingDelegate onWidthChanged: { hintingCombo.popup.width = Math.max(hintingCombo.popup.width, width) diff --git a/kcms/fonts/previewimageprovider.cpp b/kcms/fonts/previewimageprovider.cpp --- a/kcms/fonts/previewimageprovider.cpp +++ b/kcms/fonts/previewimageprovider.cpp @@ -104,7 +104,7 @@ QColor text(QApplication::palette().color(QPalette::Text)); - QColor bgnd(QApplication::palette().color(QPalette::Window)); + QColor bgnd(QApplication::palette().color(QPalette::Base)); PreviewRenderEngine eng(true); QList lines;