author | treke <treke> | 2004-11-07 00:29:17 (UTC) |
---|---|---|
committer | treke <treke> | 2004-11-07 00:29:17 (UTC) |
commit | ebed03682190e26f1ff7d8fc90e34324114b9c40 (patch) (side-by-side diff) | |
tree | 6b4694bb15f49005a5494d4cdf0be9d5b6081f2d | |
parent | 6bf7a07505319732089ad34f84dd9b4f6921ed65 (diff) | |
download | opie-ebed03682190e26f1ff7d8fc90e34324114b9c40.zip opie-ebed03682190e26f1ff7d8fc90e34324114b9c40.tar.gz opie-ebed03682190e26f1ff7d8fc90e34324114b9c40.tar.bz2 |
The fixed column widths break the OTabWidget rendering in windowed mode.
-rw-r--r-- | noncore/settings/netsystemtime/predicttabwidget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 @@ -76,15 +76,13 @@ PredictTabWidget::PredictTabWidget( QWidget *parent ) QFont font( tblLookups->font() ); font.setPointSize( 7 ); tblLookups->setFont( font ); 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 ); // Predict time button QPushButton *pb = new QPushButton( tr( "Predict time" ), this ); |