VirtualBox

Changeset 70532 in vbox for trunk/src


Ignore:
Timestamp:
Jan 11, 2018 11:30:46 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8694: A bit of layout fixes for QIMessageBox.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMessageBox.cpp

    r69821 r70532  
    172172        /* Configure main-layout: */
    173173#ifdef VBOX_WS_MAC
    174         pMainLayout->setContentsMargins(40, 11, 40, 11);
     174        pMainLayout->setContentsMargins(40, 20, 40, 20);
    175175        pMainLayout->setSpacing(15);
    176 #endif /* VBOX_WS_MAC */
     176#else
     177        pMainLayout->setSpacing(qApp->style()->pixelMetric(QStyle::PM_LayoutVerticalSpacing) * 2);
     178#endif
    177179        /* Create top-layout: */
    178180        QHBoxLayout *pTopLayout = new QHBoxLayout;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette