[vlc-commits] qt: about dialog should set text color as it sets background color

Pierre Lamot git at videolan.org
Sat Oct 14 22:28:39 CEST 2017


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Sep 29 10:25:12 2017 +0200| [6220233ca79ed58644dcc58b96de61016b8cb835] | committer: Jean-Baptiste Kempf

qt: about dialog should set text color as it sets background color

Otherwise text might be unreadable when system default font use a light color

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6220233ca79ed58644dcc58b96de61016b8cb835
---

 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">



More information about the vlc-commits mailing list