VirtualBox

Changeset 25049 in vbox


Ignore:
Timestamp:
Nov 27, 2009 12:39:45 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: fix the "ghost" arrow in the toolbar for two other cases

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

Legend:

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

    r24557 r25049  
    608608    mButtonBox->setMinimumHeight (h + 12);
    609609#endif
     610#ifdef QT_MAC_USE_COCOA
     611    /* There is a bug in Qt Cocoa which result in showing a "more
     612     * arrow" when the necessary size of the toolbar is increased. So
     613     * manually adjust the size after changing the text. */
     614    mToolBar->adjustSize();
     615#endif QT_MAC_USE_COCOA
    610616
    611617    if (mDoSelect)
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r24909 r25049  
    14021402    }
    14031403#endif
     1404
     1405#ifdef QT_MAC_USE_COCOA
     1406    /* There is a bug in Qt Cocoa which result in showing a "more
     1407     * arrow" when the necessary size of the toolbar is increased. So
     1408     * manually adjust the size after changing the text. */
     1409    mVMToolBar->adjustSize();
     1410#endif QT_MAC_USE_COCOA
    14041411}
    14051412
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