[haiku-development] Re: BTabView

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 07 Mar 2008 18:25:05 +0100 CET

> >  I didn't know how BTabView worked, but that definitely sounds
> > strange.
>
> Indeed, it causes many stupid issues that you see in some apps
> (example: resize a window with a BTabView in it, watch all the other
> tabs not notice the resize).
>
> >  I think it makes sense to just show and hide the child views as
> > the
> >  tabs are changed. Also in the new layout system there is a
> > CardLayout
> >  which you may want to look at. I can't remember off hand how it
> > works
> >  but hopefully it just shows and hides its children. Maybe the
> > BTabView
> >  could be rewritten to just use the card layout?
> >
>
> Either or, the main problem is just whether any apps out there have a
> dependency on the existing behavior. I don't know of one personally
> but...
>

Btw, Does any replacement TabView (the one from liblayout) have this
behaviour as well or was it sanely done ?

François.

Other related posts: