button centering fixed
This commit is contained in:
parent
303dd2f25d
commit
ff8a5fbe31
|
@ -166,7 +166,7 @@ void QskDialogButtonBox::rearrangeButtons()
|
||||||
const int* currentLayout = effectiveSkin()->dialogButtonLayout( orientation() );
|
const int* currentLayout = effectiveSkin()->dialogButtonLayout( orientation() );
|
||||||
|
|
||||||
if ( m_data->centeredButtons )
|
if ( m_data->centeredButtons )
|
||||||
layoutBox->addStretch( 10 );
|
layoutBox->addStretch( 1 );
|
||||||
|
|
||||||
while ( *currentLayout != QPlatformDialogHelper::EOL )
|
while ( *currentLayout != QPlatformDialogHelper::EOL )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue