[haiku-commits] Re: r38064 - in haiku/trunk/src: add-ons/disk_systems/bfs add-ons/disk_systems/intel apps/deskbar apps/devices apps/launchbox ...

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 12 Aug 2010 20:14:27 +0200

yourpalal2@xxxxxxxxx wrote:
>       BView* view = BGroupLayoutBuilder(B_VERTICAL, 5.0)
>               .Add(gridLayout->View())
>               .Add(fCalendarView)
> -             .SetInsets(5.0, 5.0, 5.0, 5.0);
> +             .SetInsets(5.0, 5.0, 5.0, 5.0)
> +             .TopView();
>       groupView->AddChild(view);

I know I missed the discussion about this, and sorry for that, but what 
is the motivation for this "ugliness" in the API? I guess the 
BGroupLayoutBuilder is therefore no longer the preferred method of 
building group layouts?

Bye,
   Axel.


Other related posts: