[vlc-commits] Qt: set the volume slider text size to 7pt

Daniel Amm git at videolan.org
Sun May 8 20:03:00 CEST 2016


vlc | branch: master | Daniel Amm <da2424 at t-online.de> | Sat May  7 18:54:14 2016 +0200| [d6a30d0361b548253f3f7b377e5138aa6c72cd97] | committer: Jean-Baptiste Kempf

Qt: set the volume slider text size to 7pt

Previously, the text size was 9px. So the correct equivalent should be 7pt.

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

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

 modules/gui/qt/util/input_slider.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/util/input_slider.cpp b/modules/gui/qt/util/input_slider.cpp
index 48a741d..1df342b 100644
--- a/modules/gui/qt/util/input_slider.cpp
+++ b/modules/gui/qt/util/input_slider.cpp
@@ -626,7 +626,7 @@ SoundSlider::SoundSlider( QWidget *_parent, float _i_step,
                     ( background.saturation() + foreground.saturation() ) / 2,
                     ( background.value() + foreground.value() ) / 2 );
 
-    textfont.setPointSize( 8 );
+    textfont.setPointSize( 7 );
     textrect.setRect( 0, 0, 34.0*scalingFactorX, 15.0*scalingFactorY );
 
     /* Regular colors */



More information about the vlc-commits mailing list