[haiku-commits] haiku: hrev50882 - src/apps/haikudepot/ui

  • From: humdingerb@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 18 Jan 2017 10:57:40 +0100 (CET)

hrev50882 adds 1 changeset to branch 'master'
old head: f31b1a2faf808b6d39636a02366ba98a0ae6ebb2
new head: 28966a1456e83737692aa268d82e1fa4241a5a0f
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=28966a1456e8+%5Ef31b1a2faf80

----------------------------------------------------------------------------

28966a1456e8: 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.

                                        [ Humdinger <humdingerb@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev50882
Commit:      28966a1456e83737692aa268d82e1fa4241a5a0f
URL:         http://cgit.haiku-os.org/haiku/commit/?id=28966a1456e8
Author:      Humdinger <humdingerb@xxxxxxxxx>
Date:        Wed Jan 18 09:30:36 2017 UTC

Ticket:      https://dev.haiku-os.org/ticket/11689

----------------------------------------------------------------------------

1 file changed, 1 insertion(+)
src/apps/haikudepot/ui/RatePackageWindow.cpp | 1 +

----------------------------------------------------------------------------

diff --git a/src/apps/haikudepot/ui/RatePackageWindow.cpp 
b/src/apps/haikudepot/ui/RatePackageWindow.cpp
index 7ce247b..4906ac6 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);
 


Other related posts:

  • » [haiku-commits] haiku: hrev50882 - src/apps/haikudepot/ui - humdingerb