[haiku-development] Re: A few questions about the layout manager.

On 2008-09-24 at 10:53:46 [+0200], digitalteufel <digitalteufel@xxxxxxxxx> 
wrote:
> There doesn't seem to be a way to maintain a constant size for the child of
> a splitview while a
> window is being resized. For example when you resize the window in Vision,
> the user list stays
> the same size while you're still able to resize the view manually using the
> splitter . I can't see how
> this can be done using the Haiku splitview class so am I just missing
> something or can it be
> considered a bug?

Consider it a missing feature, if you want. The current implementation tries 
to keep the relative sizes of its children when being resized.

> Why is there the need to explicitly call SetLayout to set a seemingly
> required dummy layout?
> It seems to me like a dummy layout could be automatically be added to all
> views that support
> layouts when they're created.

I don't see what you're referring to. It's not required to set a layout on 
any view unless you want a certain layout behavior for it.

CU, Ingo

Other related posts: