[vlc-devel] commit: Qt4: Resize the good column to the text in Media information. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Sep 24 00:39:31 CEST 2008
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep 23 15:22:27 2008 -0700| [1f62a759c05feec592be4c98ca94dd3a4865f464] | committer: Jean-Baptiste Kempf
Qt4: Resize the good column to the text in Media information.
(cherry picked from commit 646375172a6b6a0d514e951e5ff671e42556ca6f)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f62a759c05feec592be4c98ca94dd3a4865f464
---
modules/gui/qt4/components/extended_panels.cpp | 1 +
modules/gui/qt4/components/info_panels.cpp | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index ab69ced..1cad74e 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -21,6 +21,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp
index 5b78c9b..202e495 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -543,7 +543,8 @@ InputStatsPanel::InputStatsPanel( QWidget *parent,
audio->setExpanded( true );
StatsTree->resizeColumnToContents( 0 );
- StatsTree->setColumnWidth( 1 , 100 );
+ StatsTree->resizeColumnToContents( 1 );
+ StatsTree->setColumnWidth( 2 , 100 );
layout->addWidget(StatsTree, 1, 0 );
}
More information about the vlc-devel
mailing list