VirtualBox

Changeset 108359 in vbox


Ignore:
Timestamp:
Feb 24, 2025 4:38:35 PM (8 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167719
Message:

FE/Qt: bugref:10814: VBox Manager / Tools pane: Backing out r167713 as I don't like the result.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp

    r108357 r108359  
    841841            QRect subRect;
    842842            subRect.setHeight(m_pixmap.height() / m_pixmap.devicePixelRatio() + iPadding * 2);
     843            subRect.setWidth(subRect.height());
    843844#ifdef VBOX_WS_MAC
    844             subRect.setWidth(rectangle.width() - iIndent - 4 * iMargin + 2 * iPadding);
    845845            subRect.moveTopLeft(rectangle.topLeft() + QPoint(iIndent + 2 * iMargin - iPadding, iMargin - iPadding));
    846846#else
    847             subRect.setWidth(rectangle.width() - iIndent - 3 * iMargin + 2 * iPadding);
    848847            subRect.moveTopLeft(rectangle.topLeft() + QPoint(iIndent + 1.5 * iMargin - iPadding, iMargin - iPadding));
    849848#endif
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