From df4830e185b359e709b7584006ca0f713d7a2c2c Mon Sep 17 00:00:00 2001 From: SeeLook <seelook@gmail.com> Date: Sat, 16 Jan 2021 13:49:26 +0100 Subject: [PATCH] [Android] Force base and window colors - otherwise all is in button color --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 5a82f1d67..64fc8f842 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -147,6 +147,8 @@ int main(int argc, char *argv[]) auto pal = qApp->palette(); pal.setColor(QPalette::Active, QPalette::Highlight, QColor(0, 160, 160)); // Teal color of highlight for Android pal.setColor(QPalette::Active, QPalette::Shadow, QColor(120, 120, 120)); // Dark gray for shadow + pal.setColor(QPalette::Active, QPalette::Window, QColor(250, 250, 250)); // Almost white for windows + pal.setColor(QPalette::Active, QPalette::Base, QColor(255, 255, 255)); // White base pal.setColor(QPalette::Active, QPalette::Button, QColor(240, 240, 240)); // Very light gray for button pal.setColor(QPalette::Active, QPalette::AlternateBase, QColor(245, 255, 255)); // Very light teal for alternate base qApp->setPalette(pal); -- GitLab