spinBox without decoration does not make much sense until we support

ediatble boxes
This commit is contained in:
Uwe Rathmann 2024-03-05 09:18:42 +01:00
parent 09c049b523
commit 6c138ebd39

View File

@ -62,16 +62,10 @@ namespace
{
auto spinBox = new QskSpinBox( 0.0, 100.0, 1.0, this );
spinBox->setSizePolicy( Qt::Horizontal, QskSizePolicy::Fixed );
spinBox->setPageSize( 5 );
spinBox->setValue( 35 );
}
{
auto spinBox = new QskSpinBox( 10.0, 100.0, 1.0, this );
spinBox->setPageSize( 10 );
spinBox->setDecoration( QskSpinBox::NoDecoration );
spinBox->setValue( 50 );
}
}
};
}