From 5bc6713473dc9716e5e98fea143355a7c6f10994 Mon Sep 17 00:00:00 2001 From: looncraz Date: Sat, 9 Jan 2016 14:29:17 -0600 Subject: [PATCH] DiskProbe DataView Color Previously the DataView relied on the default colors, which layout now overrides more uniformly. The document colors are more appropriate. After the addition of the layout changes, the DataView would adopt system panel colors. Fixes #12572. Signed-off-by: Jessica Hamilton --- src/apps/diskprobe/DataView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/diskprobe/DataView.cpp b/src/apps/diskprobe/DataView.cpp index 7072f1f5ee..c2df0556ff 100644 --- a/src/apps/diskprobe/DataView.cpp +++ b/src/apps/diskprobe/DataView.cpp @@ -141,6 +141,10 @@ DataView::AttachedToWindow() MakeFocus(true); // this seems to be necessary - if we don't do this here, // the view is sometimes focus, but IsFocus() returns false... + + SetViewUIColor(B_DOCUMENT_BACKGROUND_COLOR); + SetLowUIColor(ViewUIColor()); + SetHighUIColor(B_DOCUMENT_TEXT_COLOR); }