koffice/krita/ui

Adrian Page adrian at pagenet.plus.com
Fri Mar 5 13:10:51 CET 2004


On Friday 05 March 2004 11:34 am, Boudewijn Rempt wrote:
> CVS commit by rempt:
>
> The brush spacing slider somehow had got 1000 as max; that's way too much.

That's because the spacing setting is percentage of width/height so 100% is 
too small for the maximum. 1000 is the maximum legal setting in the brush 
header and also the value gimp  lets you set in its brush chooser. The way 
spacing works now is very much like in gimp.

Adrian

>
>
>   M +1 -1      kis_itemchooser.cc   1.14
>
>
> --- koffice/krita/ui/kis_itemchooser.cc  #1.13:1.14
> @@ -144,5 +144,5 @@ void KisItemChooser::init(bool spacing)
>          if (spacing) {
>                  m_lbSpacing = new QLabel(i18n("Spacing: "), this);
> -                m_slSpacing = new IntegerWidget( 1, 1000, this,
> "int_widget" ); +                m_slSpacing = new IntegerWidget( 1, 100,
> this, "int_widget" ); m_slSpacing -> setTickmarks(QSlider::Below);
>                  m_slSpacing -> setTickInterval(100);


More information about the kimageshop mailing list