on xenial help sign in
fix the workaround for shell dialogs

no more white-on-white texts

commitb4ac4656bc4281a5526bcab77871a80c16d46464 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 16 Mar 2016, 19:01 (11 years ago) parent4d0b12d
1 file changed+3−1
qml/Components/ShellDialog.qml+3−1
qml/Components/ShellDialog.qml+3−1
@@ -17,6 +17,7 @@
1717import QtQuick 2.4
1818
1919import Ubuntu.Components 1.3
20+import Ubuntu.Components.Themes 1.3
2021import Ubuntu.Components.Popups 1.3
2122
2223/*
@@ -41,10 +42,11 @@ Dialog {
4142 // https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1555548
4243 ThemeSettings {
4344 id: themeHack
44− name: "Ubuntu.Components.Themes.Ambiance"
4545 }
4646
4747 Component.onCompleted: {
48+ themeHack.palette.normal.overlay = "white";
49+ themeHack.palette.normal.overlayText = UbuntuColors.slate;
4850 __foreground.theme = themeHack
4951 show();
5052 }