[vlc-commits] Qt: don't have a too long URL displayed

Jean-Baptiste Kempf git at videolan.org
Mon Jan 26 19:28:19 CET 2015


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 26 19:25:36 2015 +0100| [324befaabba53e83eaab74a487e0660edb5e2a5c] | committer: Jean-Baptiste Kempf

Qt: don't have a too long URL displayed

Close #12851

(cherry picked from commit 9fd4b65f96c86ea8c39fd63a2412386d03060709)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=324befaabba53e83eaab74a487e0660edb5e2a5c
---

 modules/gui/qt4/components/info_panels.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp
index a982b88..a2d8db1 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -158,6 +158,7 @@ MetaPanel::MetaPanel( QWidget *parent,
     lblURL = new QLabel;
     lblURL->setOpenExternalLinks( true );
     lblURL->setTextFormat( Qt::RichText );
+    lblURL->setMaximumWidth( 128 );
     metaLayout->addWidget( lblURL, line -1, 7, 1, -1 );
 
     ADD_META( VLC_META_COPYRIGHT, copyright_text, 0,  7 ); line++;



More information about the vlc-commits mailing list