]> git.sesse.net Git - vlc/commitdiff
Qt: don't have a too long URL displayed
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 26 Jan 2015 18:25:36 +0000 (19:25 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 26 Jan 2015 18:26:08 +0000 (19:26 +0100)
Close #12851

modules/gui/qt4/components/info_panels.cpp

index a982b8839f6e3e8100684200e16c7cd3b6b79aa1..a2d8db1bce20f697e0afda6d7b649d35350a4f75 100644 (file)
@@ -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++;