From ca974f3dfa4182b5ba05bae81eaff751e7822cbe Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Tue, 21 Dec 2021 14:12:25 +0100 Subject: [PATCH] Fix barely readable info cell texts By simply resetting values, the rendered cell text colors are barely readable. Setting Pango::WEIGHT_NORMAL instead of resetting seems to fix this nicely without any negative consequences. Signed-off-by: Harald Judt --- src/gsc_info_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gsc_info_window.cpp b/src/gsc_info_window.cpp index 4d79ae8..0b223f7 100644 --- a/src/gsc_info_window.cpp +++ b/src/gsc_info_window.cpp @@ -130,7 +130,7 @@ namespace { if (p->value_statistic.is_header) { crt->property_weight() = Pango::WEIGHT_BOLD; } else { - crt->property_weight().reset_value(); + crt->property_weight() = Pango::WEIGHT_NORMAL; } } }