VirtualBox

Changeset 53285 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 10, 2014 12:05:35 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Windows: Global properties: Network page: Layout fix.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/global
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp

    r52733 r53285  
    473473    }
    474474
     475#ifndef Q_WS_WIN
     476    /* On Windows host that looks ugly, but
     477     * On Mac OS X and X11 that deserves it's place. */
     478    m_pLayoutNAT->setContentsMargins(0, 0, 0, 0);
     479    m_pLayoutHostOnly->setContentsMargins(0, 0, 0, 0);
     480#endif /* !Q_WS_WIN */
     481
    475482    /* Apply language settings: */
    476483    retranslateUi();
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.ui

    r48497 r53285  
    2222       <string>&amp;NAT Networks</string>
    2323      </attribute>
    24       <layout class="QHBoxLayout">
    25        <property name="margin">
    26         <number>0</number>
    27        </property>
     24      <layout class="QHBoxLayout" name="m_pLayoutNAT">
    2825       <property name="spacing">
    2926        <number>3</number>
     
    6057       <string>&amp;Host-only Networks</string>
    6158      </attribute>
    62       <layout class="QHBoxLayout">
    63        <property name="margin">
    64         <number>0</number>
    65        </property>
     59      <layout class="QHBoxLayout" name="m_pLayoutHostOnly">
    6660       <property name="spacing">
    6761        <number>3</number>
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