Changeset 108984 in vbox
- Timestamp:
- Apr 15, 2025 2:37:49 PM (5 days ago)
- svn:sync-xref-src-repo-rev:
- 168504
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
r108983 r108984 442 442 fnt.setWeight(QFont::Bold); 443 443 444 /* Make Machine tool font smaller: */ 445 if (itemClass() == UIToolClass_Machine) 446 fnt.setPointSize(fnt.pointSize() - 1); 444 /* Make font a bit smaller: */ 445 fnt.setPointSize(fnt.pointSize() - 1); 447 446 448 447 /* Return font: */ … … 458 457 void UIToolsItem::updatePixmap() 459 458 { 460 /* Smaller Machine tool icons: */ 461 const int iIconMetric = itemClass() == UIToolClass_Machine 462 ? QApplication::style()->pixelMetric(QStyle::PM_SmallIconSize) 463 : QApplication::style()->pixelMetric(QStyle::PM_SmallIconSize) * 1.5; 459 /* Make icons a bit smaller: */ 460 const int iIconMetric = QApplication::style()->pixelMetric(QStyle::PM_SmallIconSize); 464 461 465 462 /* Prepare new pixmap size: */
Note:
See TracChangeset
for help on using the changeset viewer.