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 <jessica.l.hamilton@gmail.com>
This commit is contained in:
looncraz 2016-01-09 14:29:17 -06:00 committed by Jessica Hamilton
parent 5d7e699ade
commit 5bc6713473
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}