[haiku-bugs] Re: [Haiku] #7291: Volume replicant's text doesn't change with workspace color

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Sat, 26 Feb 2011 17:47:29 -0000

#7291: Volume replicant's text doesn't change with workspace color
------------------------------+----------------------------
   Reporter:  MichaelPeppers  |      Owner:  stippi
       Type:  bug             |     Status:  new
   Priority:  normal          |  Milestone:  R1
  Component:  User Interface  |    Version:  R1/Development
 Resolution:                  |   Keywords:
 Blocked By:                  |   Blocking:
Has a Patch:  0               |   Platform:  All
------------------------------+----------------------------

Comment (by stippi):

 To note for anyone wanting to work on this ticket: In BControlLook, there
 are methods to draw a label within a rectangle. Besides aligning the label
 in various ways, it also takes care of using a color that is visible
 against the background. A few controls use the new methods, I think
 BButton and maybe BTextControl, but most other controls don't. BSlider in
 particular does some fancy calculations of label placement of its own, but
 it doesn't consider the background color.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7291#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: