[haiku-development] Re: Font sensitive issue in many translator's about box

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 14 Apr 2009 18:53:01 +0200

On 2009-04-14 at 18:49:14 [+0200], Stephan Assmus <superstippi@xxxxxx> 
wrote:
> However, come to think of it, third party translators should still work. 
> You could check it like this: If the BView pointer you get from a 
> translator has the B_SUPPORTS_LAYOUT flag set, then it uses layout. 
> Otherwise, you will need to wrap a simple BView around the translator 
> view which translates from layout to non-layout mode.

Clarification: A BView overriding FrameResized() and then layouting it's 
child to the new dimensions can be such a view.

Best regards,
-Stephan

Other related posts: