VirtualBox

Changeset 85848 in vbox


Ignore:
Timestamp:
Aug 20, 2020 6:40:35 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9812: UIScaleFactorEditor: Couple of fixes, for focus proxy and layout stuff.

File:
1 edited

Legend:

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

    r85810 r85848  
    199199    if (m_pMainLayout)
    200200    {
    201         QMargins margins = m_pMainLayout->contentsMargins();
    202         m_pMainLayout->setContentsMargins(0, margins.top(), 0, margins.bottom());
     201        m_pMainLayout->setContentsMargins(0, 0, 0, 0);
    203202
    204203        m_pMonitorComboBox = new QComboBox;
     
    245244        if (m_pScaleSpinBox)
    246245        {
     246            setFocusProxy(m_pScaleSpinBox);
    247247            m_pScaleSpinBox->setSuffix("%");
    248248            connect(m_pScaleSpinBox ,static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),
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