From ebed03682190e26f1ff7d8fc90e34324114b9c40 Mon Sep 17 00:00:00 2001 From: treke Date: Sun, 07 Nov 2004 00:29:17 +0000 Subject: The fixed column widths break the OTabWidget rendering in windowed mode. --- diff --git a/noncore/settings/netsystemtime/predicttabwidget.cpp b/noncore/settings/netsystemtime/predicttabwidget.cpp index a9fe418..c706add 100644 --- a/noncore/settings/netsystemtime/predicttabwidget.cpp +++ b/noncore/settings/netsystemtime/predicttabwidget.cpp @@ -79,9 +79,7 @@ PredictTabWidget::PredictTabWidget( QWidget *parent ) tblLookups->horizontalHeader()->setLabel( 0, tr( "Shift [s/h]" ) ); tblLookups->horizontalHeader()->setLabel( 1, tr( "Last [h]" ) ); tblLookups->horizontalHeader()->setLabel( 2, tr( "Offset [s]" ) ); - tblLookups->setColumnWidth( 0, 78 ); - tblLookups->setColumnWidth( 1, 50 ); - tblLookups->setColumnWidth( 2, 50 ); + tblLookups->setMinimumHeight( 50 ); tblLookups->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Maximum ) ); layout->addMultiCellWidget( tblLookups, 3, 3, 0, 1 ); -- cgit v0.9.0.2