VirtualBox

Changeset 42679 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 8, 2012 11:51:49 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: 6234: Support for VM groups: Addition to r79878: A little bit more spacing for group frame anti-aliasing.

File:
1 edited

Legend:

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

    r42678 r42679  
    701701    {
    702702        /* Prepare variables: */
    703         int iHorizontalIndent = isRoot() ? 1 : iHorizontalMargin;
     703        int iHorizontalIndent = isRoot() ? 2 : iHorizontalMargin;
    704704        QRect geo = geometry().toRect();
    705705        int iX = geo.x();
     
    743743    {
    744744        /* Prepare variables: */
    745         int iHorizontalIndent = isRoot() ? 1 : iHorizontalMargin;
     745        int iHorizontalIndent = isRoot() ? 2 : iHorizontalMargin;
    746746        /* We have to make sure that we had taken into account: */
    747747        foreach (UIGChooserItem *pItem, items())
     
    10791079            /* Add clipping: */
    10801080            QPainterPath path;
    1081             path.moveTo(1, 0);
     1081            path.moveTo(2, 0);
    10821082            path.lineTo(path.currentPosition().x(), iFullHeaderHeight - 10);
    10831083            path.arcTo(QRectF(path.currentPosition(), QSizeF(20, 20)).translated(0, -10), 180, 90);
    1084             path.lineTo(rect.width() - 10 - 1, path.currentPosition().y());
     1084            path.lineTo(rect.width() - 10 - 2, path.currentPosition().y());
    10851085            path.arcTo(QRectF(path.currentPosition(), QSizeF(20, 20)).translated(-10, -20), 270, 90);
    10861086            path.lineTo(path.currentPosition().x(), 0);
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