gallery: Make sure a radio button is selected

This commit is contained in:
Peter Hartmann 2023-05-09 15:14:36 +02:00 committed by uwerat
parent 0e2f9fd839
commit 964395085f

View File

@ -168,6 +168,7 @@ namespace
: ButtonBox( Qt::Horizontal, parent )
{
auto radioBox1 = new QskRadioBox( { "One", "Two", "Three" }, this );
radioBox1->setSelectedIndex( 0 );
radioBox1->setSizePolicy( Qt::Horizontal, QskSizePolicy::Fixed );
auto radioBox2 = new QskRadioBox( { "One", "Two", "Three" }, this );