VirtualBox

Changeset 89161 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 19, 2021 12:48:00 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10003: Chooser/Details panes view palette adjustments.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserView.cpp

    r88805 r89161  
    249249    QPalette pal = QApplication::palette();
    250250    pal.setColor(QPalette::Active, QPalette::Base, pal.color(QPalette::Active, QPalette::Window));
     251    pal.setColor(QPalette::Inactive, QPalette::Base, pal.color(QPalette::Inactive, QPalette::Window));
    251252    setPalette(pal);
    252253
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsView.cpp

    r82968 r89161  
    155155    QAccessible::installFactory(UIAccessibilityInterfaceForUIDetailsView::pFactory);
    156156
     157    /* Prepare palette: */
     158    QPalette pal = QApplication::palette();
     159    pal.setColor(QPalette::Active, QPalette::Base, pal.color(QPalette::Active, QPalette::Window));
     160    pal.setColor(QPalette::Inactive, QPalette::Base, pal.color(QPalette::Inactive, QPalette::Window));
     161    setPalette(pal);
     162
    157163    /* Setup frame: */
    158164    setFrameShape(QFrame::NoFrame);
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