From 28966a1456e83737692aa268d82e1fa4241a5a0f Mon Sep 17 00:00:00 2001 From: Humdinger Date: Wed, 18 Jan 2017 10:30:36 +0100 Subject: [PATCH] HaikuDepot: Change text view colour in rating window Sets B_DOCUMENT_BACKGROUND_COLOR for the comment text view. The former B_PANEL_BACKGROUND_COLOR made it look un-editable. Unfortunately, I'm unable to set the text colour to B_DOCUMENT_TEXT_COLOR; it still uses B_PANEL_TEXT_COLOR. Currently those are both black by default. There are still a few instances left before closing #11689. --- src/apps/haikudepot/ui/RatePackageWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/haikudepot/ui/RatePackageWindow.cpp b/src/apps/haikudepot/ui/RatePackageWindow.cpp index 7ce247b426..4906ac62ed 100644 --- a/src/apps/haikudepot/ui/RatePackageWindow.cpp +++ b/src/apps/haikudepot/ui/RatePackageWindow.cpp @@ -199,6 +199,7 @@ RatePackageWindow::RatePackageWindow(BWindow* parent, BRect frame, fRatingText = parser.CreateDocumentFromMarkup(""); fTextView->SetInsets(10.0f); + fTextView->SetViewUIColor(B_DOCUMENT_BACKGROUND_COLOR); fTextView->SetTextDocument(fRatingText); fTextView->SetTextEditor(fTextEditor);