Commit f2c5e6e0 authored by Jan Hambrecht's avatar Jan Hambrecht

change the default aligment to right as used in KDoubleSpinBox


svn path=/trunk/koffice/; revision=696802
parent a16881fe
......@@ -49,6 +49,7 @@ KoUnitDoubleSpinBox::KoUnitDoubleSpinBox( QWidget *parent)
QDoubleSpinBox::setDecimals( 2 );
//setAcceptLocalizedNumbers( true );
setUnit( KoUnit(KoUnit::Point) );
setAlignment( Qt::AlignRight );
connect(this, SIGNAL(valueChanged( double )), SLOT(privateValueChanged()));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment