VirtualBox

Changeset 55916 in vbox


Ignore:
Timestamp:
May 18, 2015 4:50:15 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: 6278: Selector UI: Do not limit the icon-size of the tool-bar from above.

File:
1 edited

Legend:

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

    r55554 r55916  
    14101410    mVMToolBar = new UIToolBar(this);
    14111411    mVMToolBar->setContextMenuPolicy(Qt::CustomContextMenu);
    1412     mVMToolBar->setIconSize(QSize(32, 32));
     1412    const QSize toolBarIconSize = mVMToolBar->iconSize();
     1413    if (toolBarIconSize.width() < 32 || toolBarIconSize.height() < 32)
     1414        mVMToolBar->setIconSize(QSize(32, 32));
    14131415    mVMToolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
    14141416    mVMToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_New));
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