ColorControl: Fix font color

Change-Id: I17e9b7a89813684f3853bd07bdd6d27e6ce0c3e4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9888
Reviewed-by: John Scipione <[email protected]>
This commit is contained in:
Pascal Abresch
2025-11-16 21:05:53 +00:00
committed by nephele nephele
parent ac14f84c52
commit f0e3b65d96
+4
View File
@@ -177,6 +177,10 @@ BColorControl::_InitData(color_control_layout layout, float size,
AddChild(fBlueText);
}
fRedText->SetHighUIColor(B_PANEL_TEXT_COLOR);
fBlueText->SetHighUIColor(B_PANEL_TEXT_COLOR);
fGreenText->SetHighUIColor(B_PANEL_TEXT_COLOR);
// right align rgb values so that they line up
fRedText->SetAlignment(B_ALIGN_LEFT, B_ALIGN_RIGHT);
fGreenText->SetAlignment(B_ALIGN_LEFT, B_ALIGN_RIGHT);