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 <[email protected]>
This commit is contained in:
looncraz
2016-01-10 18:50:59 +13:00
committed by Jessica Hamilton
parent 5d7e699ade
commit 5bc6713473
+4
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);
}