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.
This commit is contained in:
parent
f31b1a2faf
commit
28966a1456
|
@ -199,6 +199,7 @@ RatePackageWindow::RatePackageWindow(BWindow* parent, BRect frame,
|
||||||
fRatingText = parser.CreateDocumentFromMarkup("");
|
fRatingText = parser.CreateDocumentFromMarkup("");
|
||||||
|
|
||||||
fTextView->SetInsets(10.0f);
|
fTextView->SetInsets(10.0f);
|
||||||
|
fTextView->SetViewUIColor(B_DOCUMENT_BACKGROUND_COLOR);
|
||||||
fTextView->SetTextDocument(fRatingText);
|
fTextView->SetTextDocument(fRatingText);
|
||||||
fTextView->SetTextEditor(fTextEditor);
|
fTextView->SetTextEditor(fTextEditor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue