From 6adac797d318574a7d271e3f5cccf4a3ec146e72 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 97d6864..d036fb2 100644 --- a/src/gsc_info_window.cpp +++ b/src/gsc_info_window.cpp @@ -133,7 +133,7 @@ namespace { if (p->is_value_type() && p->get_value().is_header) { crt->property_weight() = Pango::WEIGHT_BOLD; } else { - crt->property_weight().reset_value(); + crt->property_weight() = Pango::WEIGHT_NORMAL; } } }