mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-26 13:55:34 +00:00
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 <h.judt@gmx.at>
This commit is contained in:
committed by
Alexander Shaduri
parent
850c18b25b
commit
ca974f3dfa
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user