[Kstars-devel] KDE/kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Thu Sep 13 07:48:57 CEST 2007


SVN commit 711903 by harris:

Fix minimmu size of dmsBox widgets in the maanul-focus tool

CCMAIL: kstars-devel at kde.org



 M  +3 -0      focusdialog.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/focusdialog.cpp #711902:711903
@@ -47,6 +47,9 @@
 	setButtons( KDialog::Ok|KDialog::Cancel );
 
 	fd->epochBox->setValidator( new KDoubleValidator( fd->epochBox ) );
+	fd->raBox->setMinimumWidth( fd->raBox->fontMetrics().boundingRect("00h 00m 00s").width() );
+	fd->azBox->setMinimumWidth( fd->raBox->fontMetrics().boundingRect("00h 00m 00s").width() );
+
 	fd->raBox->setDegType(false); //RA box should be HMS-style
 	fd->raBox->setFocus(); //set input focus
 	enableButtonOk( false ); //disable until both lineedits are filled


More information about the Kstars-devel mailing list