VirtualBox

Changeset 74248 in vbox


Ignore:
Timestamp:
Sep 13, 2018 3:53:11 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: VirtualBox Manager UI: Unify palette color tones; adjust toolbar layout.

File:
1 edited

Legend:

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

    r74247 r74248  
    404404void UIVirtualBoxManagerWidget::prepare()
    405405{
     406    /* Configure palette: */
     407    setAutoFillBackground(true);
     408    QPalette pal = palette();
     409    QColor color = pal.color(QPalette::Active, QPalette::Mid).lighter(155);
     410    pal.setColor(QPalette::Window, color);
     411    setPalette(pal);
     412
    406413    /* Prepare: */
    407414    prepareToolbar();
     
    422429{
    423430    /* Create Main toolbar: */
    424     m_pToolBar = new UIToolBar(this);
     431    m_pToolBar = new UIToolBar;
    425432    if (m_pToolBar)
    426433    {
     
    471478                {
    472479                    /* Configure layout: */
     480                    pLayoutRight->setSpacing(0);
    473481                    pLayoutRight->setContentsMargins(0, 0, 0, 0);
    474482
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