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

Daniel Amm da2424 at t-online.de
Sat May 7 18:54:14 CEST 2016


Previously, the text size was 9px. So the correct equivalent should be 7pt.
---
 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 */
-- 
2.7.0.windows.1



More information about the vlc-devel mailing list