Tracker: fix button color for Open/Save Dialog
Change-Id: Iaa320020ebea8dba6ab5852799fc35f60b23885f Reviewed-on: https://review.haiku-os.org/c/haiku/+/8871 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
nephele nephele
parent
222402172a
commit
a498115d52
@@ -694,6 +694,11 @@ TFilePanel::Init(const BMessage*)
|
|||||||
BRect windRect(Bounds());
|
BRect windRect(Bounds());
|
||||||
fBackView = new BView(Bounds(), "View", B_FOLLOW_ALL, 0);
|
fBackView = new BView(Bounds(), "View", B_FOLLOW_ALL, 0);
|
||||||
fBackView->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
|
fBackView->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
|
||||||
|
|
||||||
|
// BButton adopts the parent's high color instead of its own,
|
||||||
|
// hence this mismatched color set here
|
||||||
|
fBackView->SetHighUIColor(B_CONTROL_TEXT_COLOR);
|
||||||
|
|
||||||
AddChild(fBackView);
|
AddChild(fBackView);
|
||||||
|
|
||||||
// add poseview menu bar
|
// add poseview menu bar
|
||||||
|
|||||||
Reference in New Issue
Block a user