Changeset 108102 in vbox
- Timestamp:
- Feb 6, 2025 3:51:04 PM (2 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167400
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp
r108100 r108102 760 760 painterPath.addRoundedRect(subRect, iPadding, iPadding); 761 761 const QColor backgroundColor1 = uiCommon().isInDarkMode() 762 ? backgroundColor.lighter( 110)763 : backgroundColor.darker(1 05);762 ? backgroundColor.lighter(220) 763 : backgroundColor.darker(140); 764 764 pPainter->setPen(QPen(backgroundColor1, 2, Qt::SolidLine, Qt::RoundCap)); 765 765 pPainter->drawPath(QPainterPathStroker().createStroke(painterPath)); … … 768 768 pPainter->setClipPath(painterPath); 769 769 const QColor backgroundColor2 = uiCommon().isInDarkMode() 770 ? backgroundColor.lighter(1 80)771 : backgroundColor.darker(1 40);770 ? backgroundColor.lighter(160) 771 : backgroundColor.darker(120); 772 772 pPainter->fillRect(subRect, backgroundColor2); 773 773 } … … 908 908 painterPath.addRoundedRect(m_extraButtonRect, iPadding, iPadding); 909 909 QColor backgroundColor1 = uiCommon().isInDarkMode() 910 ? backgroundColor.lighter( 110)911 : backgroundColor.darker(1 05);910 ? backgroundColor.lighter(220) 911 : backgroundColor.darker(140); 912 912 pPainter->setPen(QPen(backgroundColor1, 2, Qt::SolidLine, Qt::RoundCap)); 913 913 pPainter->drawPath(QPainterPathStroker().createStroke(painterPath)); … … 916 916 pPainter->setClipPath(painterPath); 917 917 QColor backgroundColor2 = uiCommon().isInDarkMode() 918 ? backgroundColor.lighter(1 80)919 : backgroundColor.darker(1 40);918 ? backgroundColor.lighter(160) 919 : backgroundColor.darker(120); 920 920 pPainter->fillRect(m_extraButtonRect, backgroundColor2); 921 921
Note:
See TracChangeset
for help on using the changeset viewer.