From 6c3a4d64bc90333d7c8d2ab32ebdf4c710efff72 Mon Sep 17 00:00:00 2001 From: pvshvp-oss Date: Sat, 3 Aug 2024 02:47:40 -0500 Subject: [PATCH] chore: :lipstick: Make the partition label color gray from black to improve readability --- src/modules/partition/gui/PartitionLabelsView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/partition/gui/PartitionLabelsView.cpp b/src/modules/partition/gui/PartitionLabelsView.cpp index e338da252a..2d6af64779 100644 --- a/src/modules/partition/gui/PartitionLabelsView.cpp +++ b/src/modules/partition/gui/PartitionLabelsView.cpp @@ -360,7 +360,7 @@ PartitionLabelsView::drawLabel( QPainter* painter, const QPoint& pos, bool selected ) { - painter->setPen( Qt::black ); + painter->setPen( Qt::gray ); int vertOffset = 0; int width = 0; for ( const QString& textLine : text ) @@ -382,7 +382,7 @@ PartitionLabelsView::drawLabel( QPainter* painter, drawSelectionSquare( painter, partitionSquareRect.adjusted( 2, 2, -2, -2 ), color ); } - painter->setPen( Qt::black ); + painter->setPen( Qt::gray ); } QModelIndex