[vlc-devel] [PATCH 10/10] qt: about dialog should set text color as it sets background color

Pierre Lamot pierre at videolabs.io
Fri Sep 29 10:25:12 CEST 2017


  Otherwise text might be unreadable when system default font use a light color
---
 modules/gui/qt/ui/about.ui | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/ui/about.ui b/modules/gui/qt/ui/about.ui
index 6c20251246..ff05004f71 100644
--- a/modules/gui/qt/ui/about.ui
+++ b/modules/gui/qt/ui/about.ui
@@ -66,7 +66,8 @@
       </sizepolicy>
      </property>
      <property name="styleSheet">
-      <string notr="true">background-color: rgb(245, 245, 245);</string>
+      <string notr="true">background-color: rgb(245, 245, 245);
+color:rgb(0,0,0);</string>
      </property>
      <layout class="QGridLayout" name="gridLayout">
       <item row="2" column="2" rowspan="4">
@@ -288,7 +289,7 @@ margin-bottom: 6px;</string>
       </size>
      </property>
      <property name="styleSheet">
-      <string notr="true">background-color: rgb(230, 230, 230);</string>
+      <string notr="true">background-color: rgb(230, 230, 230);color:rgb(0,0,0);</string>
      </property>
      <layout class="QHBoxLayout" name="horizontalLayout_2">
       <property name="margin">
-- 
2.14.1



More information about the vlc-devel mailing list