[vlc-commits] Qt: do not extend the dialog minimum width for long lines
Ludovic Fauvet
git at videolan.org
Wed Jul 10 17:38:39 CEST 2013
vlc/vlc-2.1 | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Jul 10 14:40:03 2013 +0200| [057ab16af751e3062d59d9fc0a15b505ab6c1f72] | committer: Jean-Baptiste Kempf
Qt: do not extend the dialog minimum width for long lines
(cherry picked from commit 1d1c5e1247a19eac1695af401cf30bef9ffa2673)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=057ab16af751e3062d59d9fc0a15b505ab6c1f72
---
modules/gui/qt4/components/extended_panels.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 7c87b9c..3b32011 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -709,6 +709,7 @@ ExtV4l2::ExtV4l2( intf_thread_t *_p_intf, QWidget *_parent )
"Controls will automatically appear here.")
, this );
help->setAlignment( Qt::AlignHCenter | Qt::AlignVCenter );
+ help->setWordWrap( true );
layout->addWidget( help );
setLayout( layout );
}
More information about the vlc-commits
mailing list