VirtualBox

Ignore:
Timestamp:
Dec 8, 2017 12:45:18 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8694: Small layout fix for Global/Machine tool tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r69917 r70024  
    18411841        {
    18421842            /* Configure tab-bar: */
    1843             const int iL = qApp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin) / 2;
    1844             const int iR = qApp->style()->pixelMetric(QStyle::PM_LayoutRightMargin) / 2;
     1843            const int iL = qApp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin);
     1844            const int iR = qApp->style()->pixelMetric(QStyle::PM_LayoutRightMargin);
    18451845            m_pTabBarMachine->setContentsMargins(iL, 0, iR, 0);
    18461846
     
    18541854        {
    18551855            /* Configure tab-bar: */
    1856             const int iL = qApp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin) / 2;
    1857             const int iR = qApp->style()->pixelMetric(QStyle::PM_LayoutRightMargin) / 2;
     1856            const int iL = qApp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin);
     1857            const int iR = qApp->style()->pixelMetric(QStyle::PM_LayoutRightMargin);
    18581858            m_pTabBarGlobal->setContentsMargins(iL, 0, iR, 0);
    18591859
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