button centering fixed

This commit is contained in:
Uwe Rathmann 2021-10-27 13:02:34 +02:00
parent baec28fca0
commit 9cb3dfa8b6
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 )
{