VirtualBox

Changeset 74108 in vbox for trunk


Ignore:
Timestamp:
Sep 6, 2018 10:02:59 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: VirtualBox Manager UI: Change splitter to flat style.

File:
1 edited

Legend:

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

    r73882 r74108  
    448448
    449449        /* Create splitter: */
    450         m_pSplitter = new QISplitter;
     450        m_pSplitter = new QISplitter(Qt::Horizontal, QISplitter::Flat);
    451451        if (m_pSplitter)
    452452        {
    453453            /* Configure splitter: */
    454 #ifdef VBOX_WS_X11
    455             m_pSplitter->setHandleType(QISplitter::Native);
    456 #endif
     454            m_pSplitter->setHandleWidth(1);
    457455
    458456            /* Create Chooser-pane: */
     
    535533
    536534            /* Adjust splitter colors according to main widgets it splits: */
    537             m_pSplitter->configureColors(m_pPaneChooser->palette().color(QPalette::Active, QPalette::Window),
    538                                          m_pPaneToolsMachine->palette().color(QPalette::Active, QPalette::Window));
     535            m_pSplitter->configureColor(palette().color(QPalette::Active, QPalette::Midlight).darker(110));
    539536            /* Set the initial distribution. The right site is bigger. */
    540537            m_pSplitter->setStretchFactor(0, 2);
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