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:
committed by
nephele nephele
parent
ac14f84c52
commit
f0e3b65d96
@@ -177,6 +177,10 @@ BColorControl::_InitData(color_control_layout layout, float size,
|
|||||||
AddChild(fBlueText);
|
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
|
// right align rgb values so that they line up
|
||||||
fRedText->SetAlignment(B_ALIGN_LEFT, B_ALIGN_RIGHT);
|
fRedText->SetAlignment(B_ALIGN_LEFT, B_ALIGN_RIGHT);
|
||||||
fGreenText->SetAlignment(B_ALIGN_LEFT, B_ALIGN_RIGHT);
|
fGreenText->SetAlignment(B_ALIGN_LEFT, B_ALIGN_RIGHT);
|
||||||
|
|||||||
Reference in New Issue
Block a user