button centering fixed

This commit is contained in:
Uwe Rathmann 2021-10-27 13:02:34 +02:00
parent 303dd2f25d
commit ff8a5fbe31
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ void QskDialogButtonBox::rearrangeButtons()
const int* currentLayout = effectiveSkin()->dialogButtonLayout( orientation() );
if ( m_data->centeredButtons )
layoutBox->addStretch( 10 );
layoutBox->addStretch( 1 );
while ( *currentLayout != QPlatformDialogHelper::EOL )
{