author | llornkcor <llornkcor> | 2003-04-20 02:36:08 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-20 02:36:08 (UTC) |
commit | f4b192f79649abb3318c2c404da31f067f4ca467 (patch) (side-by-side diff) | |
tree | e42225f67544daace708051585fb944c4ca6561d /core | |
parent | 845c8a880a2ff701f21c2845674e97a2493499f4 (diff) | |
download | opie-f4b192f79649abb3318c2c404da31f067f4ca467.zip opie-f4b192f79649abb3318c2c404da31f067f4ca467.tar.gz opie-f4b192f79649abb3318c2c404da31f067f4ca467.tar.bz2 |
fix sizing
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index bffda38..795feaf 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp @@ -229,3 +229,3 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) - // Add the playlist area + // Add the playlist area @@ -235,6 +235,5 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) QGridLayout *layoutF = new QGridLayout( pTab ); - layoutF->setSpacing( 2); - layoutF->setMargin( 2); - layoutF->addMultiCellWidget( d->playListFrame , 0, 0, 0, 1 ); -// d->playListFrame ->setMinimumSize(235,260); + layoutF->setSpacing( 2); + layoutF->setMargin( 2); + layoutF->addMultiCellWidget( d->playListFrame , 0, 0, 0, 1 ); @@ -260,10 +259,10 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) QGridLayout *layoutA = new QGridLayout( aTab ); - layoutA->setSpacing( 2); - layoutA->setMargin( 2); - layoutA->addMultiCellWidget( audioView, 0, 0, 0, 1 ); + layoutA->setSpacing( 2); + layoutA->setMargin( 2); + layoutA->addMultiCellWidget( audioView, 0, 0, 0, 1 ); - audioView->addColumn( tr("Title"),140); + audioView->addColumn( tr("Title"),-1); audioView->addColumn(tr("Size"), -1); audioView->addColumn(tr("Media"),-1); - audioView->addColumn( tr( "Path" ), 0 ); + audioView->addColumn( tr( "Path" ), -1 ); @@ -290,10 +289,10 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) QGridLayout *layoutV = new QGridLayout( vTab ); - layoutV->setSpacing( 2); - layoutV->setMargin( 2); - layoutV->addMultiCellWidget( videoView, 0, 0, 0, 1 ); + layoutV->setSpacing( 2); + layoutV->setMargin( 2); + layoutV->addMultiCellWidget( videoView, 0, 0, 0, 1 ); - videoView->addColumn(tr("Title"),140); + videoView->addColumn(tr("Title"),-1); videoView->addColumn(tr("Size"),-1); videoView->addColumn(tr("Media"),-1); - videoView->addColumn(tr( "Path" ), 0 ); + videoView->addColumn(tr( "Path" ), -1 ); videoView->setColumnAlignment(1, Qt::AlignRight); @@ -313,5 +312,5 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) QGridLayout *layoutL = new QGridLayout( LTab ); - layoutL->setSpacing( 2); - layoutL->setMargin( 2); - layoutL->addMultiCellWidget( playLists, 0, 0, 0, 1 ); + layoutL->setSpacing( 2); + layoutL->setMargin( 2); + layoutL->addMultiCellWidget( playLists, 0, 0, 0, 1 ); // playLists->setMinimumSize(233,260); |