From a498115d52a51b7a5f822a36c1d5e7eb8f45bc33 Mon Sep 17 00:00:00 2001 From: Pascal Abresch Date: Tue, 28 Jan 2025 03:41:09 +0100 Subject: [PATCH] Tracker: fix button color for Open/Save Dialog Change-Id: Iaa320020ebea8dba6ab5852799fc35f60b23885f Reviewed-on: https://review.haiku-os.org/c/haiku/+/8871 Reviewed-by: waddlesplash --- src/kits/tracker/FilePanelPriv.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/kits/tracker/FilePanelPriv.cpp b/src/kits/tracker/FilePanelPriv.cpp index ef98249fcf..9bfa4793f9 100644 --- a/src/kits/tracker/FilePanelPriv.cpp +++ b/src/kits/tracker/FilePanelPriv.cpp @@ -694,6 +694,11 @@ TFilePanel::Init(const BMessage*) BRect windRect(Bounds()); fBackView = new BView(Bounds(), "View", B_FOLLOW_ALL, 0); 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); // add poseview menu bar