Changeset 108127 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Feb 9, 2025 7:34:17 PM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 167426
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
r108126 r108127 288 288 iProposedWidth += 2 * iMargin; 289 289 #ifdef VBOX_WS_MAC 290 /* Additional 3margins for widget mode: */290 /* Additional 2 margins for widget mode: */ 291 291 if (!model()->tools()->isPopup()) 292 iProposedWidth += 3* iMargin;292 iProposedWidth += 2 * iMargin; 293 293 #else 294 294 /* Additional 1 margin for widget mode: */ … … 775 775 subRect.setWidth(subRect.height()); 776 776 #ifdef VBOX_WS_MAC 777 subRect.moveTopLeft(rectangle.topLeft() + QPoint(2 .5* iMargin - iPadding, iMargin - iPadding));777 subRect.moveTopLeft(rectangle.topLeft() + QPoint(2 * iMargin - iPadding, iMargin - iPadding)); 778 778 #else 779 779 subRect.moveTopLeft(rectangle.topLeft() + QPoint(1.5 * iMargin - iPadding, iMargin - iPadding)); … … 887 887 /* Prepare variables: */ 888 888 #ifdef VBOX_WS_MAC 889 const int iPixmapX = model()->tools()->isPopup() ? iMargin : 2 .5* iMargin;889 const int iPixmapX = model()->tools()->isPopup() ? iMargin : 2 * iMargin; 890 890 #else 891 891 const int iPixmapX = model()->tools()->isPopup() ? iMargin : 1.5 * iMargin; … … 906 906 #ifdef VBOX_WS_MAC 907 907 const int iNameX = model()->tools()->isPopup() ? iMargin + m_pixmapSize.width() + iSpacing 908 : 2 .5* iMargin + m_pixmapSize.width() + 2 * iSpacing;908 : 2 * iMargin + m_pixmapSize.width() + 2 * iSpacing; 909 909 #else 910 910 const int iNameX = model()->tools()->isPopup() ? iMargin + m_pixmapSize.width() + iSpacing
Note:
See TracChangeset
for help on using the changeset viewer.