VirtualBox

Changeset 33912 in vbox


Ignore:
Timestamp:
Nov 9, 2010 4:25:00 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67568
Message:

FE/Qt4: Avoid the extent button on Mac OS X for the USB toolbar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp

    r33882 r33912  
    9393    toolBar->setSizePolicy (QSizePolicy::Fixed, QSizePolicy::MinimumExpanding);
    9494    toolBar->updateGeometry();
    95     toolBar->setMinimumHeight (toolBar->sizeHint().height());
     95#ifdef Q_WS_MAC
     96    /* On the Mac this has to be slightly higher, than what sizeHint returned.
     97     * No idea why. */
     98    toolBar->setMinimumHeight(toolBar->sizeHint().height() + 4);
     99#else
     100    toolBar->setMinimumHeight(toolBar->sizeHint().height());
     101#endif /* Q_WS_MAC */
    96102    mWtFilterHandler->layout()->addWidget (toolBar);
    97103
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette