[haiku-development] Re: Layout problems
- From: Stephan Assmus <superstippi@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 31 Mar 2009 18:10:45 +0200
On 2009-03-31 at 17:48:58 [+0200], Sean Healy <jalopeura@xxxxxxxxxxx> wrote:
> Hello,
>
> I'm working on bug #190 and I'm having some problems with the layout
> system. The top view takes up all the space, with its text way down at
> the bottom, like so:
>
> |--------------------------|
> | |----------------------| |
> | | | |
> | | | |
> | | | |
> | | | |
> | | | |
> | | | |
> | | | |
> | | | |
> | | Text1 | |
> | |----------------------| |
> | |
> | |----------------------| |
> | | Text2 | |
> | |----------------------| |
> |--------------------------|
>
> I tried adding glue after the second view, and then the glue and the top
> view get about the same amount of space, and the second view still takes
> up just what it needs, like so:
>
> |--------------------------|
> | |----------------------| |
> | | | |
> | | | |
> | | | |
> | | Text1 | |
> | |----------------------| |
> | |
> | |----------------------| |
> | | Text2 | |
> | |----------------------| |
> | |
> | |----------------------| |
> | | | |
> | | | |
> | | | |
> | | | |
> | |----------------------| |
> |--------------------------|
>
> I tried looking through the list archives, but when I left the search too
> general, I got more results than I could efficiently look through, and
> when I narrowed the search, none of the results helped me.
>
> On the plus side, it looks like using the layout system here will also
> fix bug #1801, since the text indicated in that bug is no longer cut off.
> (Of course, at the moment, the information is all squeezed down at the
> bottom because of the above problem, but at least it's all visible.)
From your pictures and description, I don't understand which views exactly
are the problem. Could you post your code? You can also send it to me in
private, if you prefer.
Best regards,
-Stephan
Other related posts: