]> git.sesse.net Git - vlc/commitdiff
Qt4: Reduce the margin since the handler is now much smaller
authorLudovic Fauvet <etix@l0cal.com>
Sat, 16 Apr 2011 10:06:18 +0000 (12:06 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 16 Apr 2011 12:10:25 +0000 (14:10 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/util/input_slider.cpp

index 319b3718d904f37ea5d93e569b1cd13ffbb38739..ccf84bbab2bb27481e567db6bf053605acdcd05d 100644 (file)
@@ -293,7 +293,7 @@ void SeekSlider::paintEvent( QPaintEvent *event )
     if ( option.state & QStyle::State_MouseOver ) {
 
         if ( sliderPos != -1 ) {
-            const int margin = 5;
+            const int margin = 0;
             QSize hs = handleSize() -QSize( 5, 5 );
             QPoint pos;