[haiku-development] Re: BBox + layout = bugs?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 16 Mar 2010 09:06:53 +0100

Alex W <yourpalal2@xxxxxxxxx> wrote:
> HI, I'm working on refactoring the FileTypes preflet to use the Layout 
> API,
> and I noticed something that might be a bug, but I'm unsure, so I 
> thought
> I'd check. If you add multiple children to a Layout'd BBox, the BBox 
> border
> and label are not drawn, I haven't tested this extensively, but adding 
> all
> the children to a different BView and then adding that view to the 
> BBox
> seems to workaround(can that be used as a verb?) the problem.

No, it would be "seems to work around the problem." :-)

> Anyway, if this is the intended behaviour, then I'll just continue on 
> my way,
> if not, I'm happy to file a bug report and see if I can track down 
> the problem.

While it's indeed a bit unfortunate, I also wouldn't think that this is 
a bug; after all, you have not set any layout on that box, so you 
couldn't even know how its children would do their layout (ie. 
floating, vertical group, ...).

Bye,
   Axel.


Other related posts: