From 7dc18aef8c555b6d37ff76cb3c006aafac0f7824 Mon Sep 17 00:00:00 2001 From: hrw Date: Tue, 19 Jul 2005 17:53:43 +0000 Subject: change fontsize in ntp server tab and predict tab from hardcoded 7 to default - 2 so it is readable on VGA screen --- (limited to 'noncore') diff --git a/noncore/settings/netsystemtime/ntptabwidget.cpp b/noncore/settings/netsystemtime/ntptabwidget.cpp index 16d21cc..d0107a4 100644 --- a/noncore/settings/netsystemtime/ntptabwidget.cpp +++ b/noncore/settings/netsystemtime/ntptabwidget.cpp @@ -73,7 +73,7 @@ NTPTabWidget::NTPTabWidget( QWidget *parent ) // NTP output display mleNtpOutput = new QMultiLineEdit( container ); QFont font( mleNtpOutput->font() ); - font.setPointSize( 7 ); + font.setPointSize( font.pointSize() - 2 ); mleNtpOutput->setFont( font ); mleNtpOutput->setWordWrap( QMultiLineEdit::WidgetWidth ); layout->addMultiCellWidget( mleNtpOutput, 3, 3, 0, 1 ); diff --git a/noncore/settings/netsystemtime/predicttabwidget.cpp b/noncore/settings/netsystemtime/predicttabwidget.cpp index 98e0afd..0b95277 100644 --- a/noncore/settings/netsystemtime/predicttabwidget.cpp +++ b/noncore/settings/netsystemtime/predicttabwidget.cpp @@ -76,7 +76,7 @@ PredictTabWidget::PredictTabWidget( QWidget *parent ) // Prediction table tblLookups = new QTable( 2, 3, this ); QFont font( tblLookups->font() ); - font.setPointSize( 7 ); + font.setPointSize( font.pointSize() - 2 ); tblLookups->setFont( font ); tblLookups->horizontalHeader()->setLabel( 0, tr( "Shift [s/h]" ) ); tblLookups->horizontalHeader()->setLabel( 1, tr( "Last [h]" ) ); -- cgit v0.9.0.2