From d7ce7d485b73053235e7258b24563a7ba5699029 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Wed, 26 May 2010 12:27:23 +0200 Subject: [PATCH] Themes: explicitely set background and text color for tooltips As the colors of QToolTip depend on the desktop environment used, explicitely set background and text color for fixing cases like white text on bright yellow background. Closes #3006955. --- data/themes/cusis/style.css | 5 +++++ data/themes/default/style.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/data/themes/cusis/style.css b/data/themes/cusis/style.css index c158e9bad..5cf8095d0 100644 --- a/data/themes/cusis/style.css +++ b/data/themes/cusis/style.css @@ -74,6 +74,11 @@ automationEditor { } +QToolTip { + background: rgb(224,224,224); + color: black; +} + QMenu { border:1px solid black; background-color: rgb( 192, 192, 192 ); diff --git a/data/themes/default/style.css b/data/themes/default/style.css index ec41b9f18..4ac5e1cde 100644 --- a/data/themes/default/style.css +++ b/data/themes/default/style.css @@ -45,6 +45,11 @@ automationEditor { } +QToolTip { + background: rgb(224,224,224); + color: black; +} + QMenu { border:1px solid black; background-color: rgb( 192, 192, 192 );