VirtualBox

Changeset 42690 in vbox for trunk


Ignore:
Timestamp:
Aug 8, 2012 6:27:01 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: 6234: Support for VM groups: Add some spacing between 'enter' button and other group info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemGroup.cpp

    r42688 r42690  
    12101210        /* Prepare variables: */
    12111211        QRect fullRect = pOption->rect;
     1212        int iMinorSpacing = data(GroupItemData_MinorSpacing).toInt();
    12121213        int iEnterButtonWidth = data(GroupItemData_EnterButtonSize).toSizeF().width();
    12131214        QSize groupPixmapSize = data(GroupItemData_GroupPixmapSize).toSize();
     
    12241225        int iHorizontalIndent = fullRect.right() - iHorizontalMargin;
    12251226        if (!isRoot())
    1226             iHorizontalIndent -= iEnterButtonWidth;
     1227            iHorizontalIndent -= (iEnterButtonWidth + iMinorSpacing);
    12271228
    12281229        /* Should we draw machine count info? */
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