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

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


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

Qt: don't have a too long URL displayed

Close #12851

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

 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