From: Marian Ďurkovič Date: Wed, 2 Sep 2009 05:45:21 +0000 (+0200) Subject: Add horizontal scrollbar to MediaInfo's third panel to fully show EPG info X-Git-Tag: 1.1.0-ff~3537 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a4ba8b19d0dca993d4f42db3769b0f10c6833fe6;p=vlc Add horizontal scrollbar to MediaInfo's third panel to fully show EPG info Signed-off-by: Jean-Baptiste Kempf --- diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp index 7edf3b7c6b..5b5ada16d8 100644 --- a/modules/gui/qt4/components/info_panels.cpp +++ b/modules/gui/qt4/components/info_panels.cpp @@ -411,6 +411,8 @@ InfoPanel::InfoPanel( QWidget *parent, InfoTree = new QTreeWidget(this); InfoTree->setColumnCount( 1 ); InfoTree->header()->hide(); + InfoTree->header()->setStretchLastSection(false); + InfoTree->header()->setResizeMode(QHeaderView::ResizeToContents); layout->addWidget(InfoTree, 1, 0 ); }