[vlc-devel] commit: Don't expand the bar, but the video during resizing... ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Jun 25 01:40:06 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 24 16:41:45 2008 -0700| [6ec764aec733dacb654ce11d2f0566c54e3b0c15]

Don't expand the bar, but the video during resizing...

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

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

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 4b31941..8f77aaa 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -65,6 +65,7 @@ VideoWidget::VideoWidget( intf_thread_t *_p_i ) : QFrame( NULL ), p_intf( _p_i )
     hide(); setMinimumSize( 16, 16 );
     videoSize.rwidth() = -1;
     videoSize.rheight() = -1;
+    setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
 
     /* Black background is more coherent for a Video Widget IMVHO */
     QPalette plt =  palette();




More information about the vlc-devel mailing list