VirtualBox

Changeset 108353 in vbox


Ignore:
Timestamp:
Feb 24, 2025 1:31:32 PM (8 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167713
Message:

FE/Qt: bugref:10814: VBox Manager / Tools pane: Adjust tool item hovering token geometry to include text as well.

File:
1 edited

Legend:

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

    r108352 r108353  
    846846            QRect subRect;
    847847            subRect.setHeight(m_pixmap.height() / m_pixmap.devicePixelRatio() + iPadding * 2);
    848             subRect.setWidth(subRect.height());
    849848#ifdef VBOX_WS_MAC
     849            subRect.setWidth(rectangle.width() - iIndent - 4 * iMargin + 2 * iPadding);
    850850            subRect.moveTopLeft(rectangle.topLeft() + QPoint(iIndent + 2 * iMargin - iPadding, iMargin - iPadding));
    851851#else
     852            subRect.setWidth(rectangle.width() - iIndent - 3 * iMargin + 2 * iPadding);
    852853            subRect.moveTopLeft(rectangle.topLeft() + QPoint(iIndent + 1.5 * iMargin - iPadding, iMargin - iPadding));
    853854#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