VirtualBox

Changeset 68237 in vbox for trunk


Ignore:
Timestamp:
Aug 2, 2017 10:48:34 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8900: A bit of macOS fixes for UITabBar as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.cpp

    r68234 r68237  
    201201    /* Prepare palette colors: */
    202202    const QPalette pal = palette();
     203#ifdef VBOX_WS_MAC
     204    const QColor color0 = m_fCurrent ? pal.color(QPalette::Highlight).lighter(110)
     205                        : m_fHovered ? pal.color(QPalette::Highlight).lighter(120)
     206                        :              pal.color(QPalette::Window);
     207#else /* !VBOX_WS_MAC */
    203208    const QColor color0 = m_fCurrent ? pal.color(QPalette::Highlight).lighter(150)
    204209                        : m_fHovered ? pal.color(QPalette::Highlight).lighter(170)
    205210                        :              pal.color(QPalette::Window);
     211#endif /* !VBOX_WS_MAC */
    206212    QColor color1 = pal.color(QPalette::Window).lighter(110);
    207213    color1.setAlpha(0);
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