[vlc-devel] [PATCH] Fix a little bug in Qt interface

Jean-Philippe Andre jpeg at via.ecp.fr
Sun Apr 6 15:03:41 CEST 2008


From: Jean-Philippe Andre <jpeg CHEZ via POINT ecp POINT fr>

Please see these captures :
http://people.via.ecp.fr/~jpeg/VideoLAN/captures/capture15.png (buggy)
http://people.via.ecp.fr/~jpeg/VideoLAN/captures/capture14.png (no bug)

Note: I'm using KDE 3.5.9

Best regards
---
 modules/gui/qt4/components/interface_widgets.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index ad978a0..56c0504 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -281,6 +281,8 @@ AdvControlsWidget::AdvControlsWidget( intf_thread_t *_p_i ) :
     advLayout->setMargin( 0 );
     advLayout->setSpacing( 0 );
 
+    advLayout->setAlignment( Qt::AlignBottom );
+
     /* A to B Button */
     ABButton = new QPushButton( "AB" );
     ABButton->setMaximumSize( QSize( 26, 26 ) );
-- 
1.5.4.5




More information about the vlc-devel mailing list