Changeset 108359 in vbox
- Timestamp:
- Feb 24, 2025 4:38:35 PM (8 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167719
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
r108357 r108359 841 841 QRect subRect; 842 842 subRect.setHeight(m_pixmap.height() / m_pixmap.devicePixelRatio() + iPadding * 2); 843 subRect.setWidth(subRect.height()); 843 844 #ifdef VBOX_WS_MAC 844 subRect.setWidth(rectangle.width() - iIndent - 4 * iMargin + 2 * iPadding);845 845 subRect.moveTopLeft(rectangle.topLeft() + QPoint(iIndent + 2 * iMargin - iPadding, iMargin - iPadding)); 846 846 #else 847 subRect.setWidth(rectangle.width() - iIndent - 3 * iMargin + 2 * iPadding);848 847 subRect.moveTopLeft(rectangle.topLeft() + QPoint(iIndent + 1.5 * iMargin - iPadding, iMargin - iPadding)); 849 848 #endif
Note:
See TracChangeset
for help on using the changeset viewer.