[haiku-bugs] Re: [Haiku] #8129: BTextControl , SetFontSize() doesnt work?

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Tue, 15 Nov 2011 12:19:30 -0000

#8129: BTextControl  , SetFontSize() doesnt work?
----------------------------------+--------------------------
   Reporter:  cipri               |      Owner:  axeld
       Type:  bug                 |     Status:  closed
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/alpha3
 Resolution:  invalid             |   Keywords:  BTextControl
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+--------------------------

Comment (by jackburton):

 Replying to [comment:4 cipri]:
 > It's a little unconvenient to define a new font, to define a color, when
 you in fact needs just the size of the font to be bigger.
 >
 > And the other problem remains, SetFontAndColor() doesnt set the color
 you choose, it remains black.

 IIRC our BTextView implementation checks for NULL values for either font
 and color, so you can safely pass NULL where you don't want to change
 anything.
 Which version of the call you used ? The BTextView was stylable or not ?

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

Other related posts: