]> git.sesse.net Git - vlc/commitdiff
Qt4: Resize the good column to the text in Media information.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 23 Sep 2008 22:22:27 +0000 (15:22 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 23 Sep 2008 22:23:54 +0000 (15:23 -0700)
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/info_panels.cpp

index 0feb32e2f1e2d912079ec87c7ecabb4eca6ca0d8..033b2f7932d1cc59324e2b70cab36fe86187c16d 100644 (file)
@@ -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
index f91d991b4ad4d075c0cd790636799326209ba350..a4d623f73d8df0affcf33ca0747f49d08a57ac90 100644 (file)
@@ -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 );
 }