[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: [Panel-devel] BorderLayout
From:       "Wade Olson" <wade () corefunction ! com>
Date:       2007-09-14 16:49:22
Message-ID: a42b7670709140949n5f93ff0ela2031f54f7395efd () mail ! gmail ! com
[Download RAW message or body]

On 9/14/07, Ivan Čukić <ivan.cukic+kde@gmail.com> wrote:
> Hi all,
>
> This one I've made for my Lancelot plasmoid/application and thought that it
> could be useful to others.
>
> It is inspired by Java's BorderLayout - there are 5 items that can be shown.
> One central and one for each border - left, right, top and bottom.
>
> +--------------------------+
> |           top            |
> +---+------------------+---+
> | l |                  | r |
> | e |                  | i |
> | f |      center      | g |
> | t |                  | h |
> |   |                  | t |
> +---+------------------+---+
> |          bottom          |
> +--------------------------+
>

I like this mock-up almost as much as Nuno's!

> Border items are sized to match sizeHints - top and bottom obey height, left
> and right obey width, and the central component is stretched without
> consulting sizeHint.
>
> There is a possibility to disable the usage of sizeHints for borders using the
>   void set*FixedSize()
> methods.
>
> The diffs are attached
>
> Cheers.
>
> --
> You know, there are many people in the country today who,
> through no fault of their own, are sane. Some of them were born sane.
> Some of them became sane later in their lives...
>    -- Monty Python's Flying Circus
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel@kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>
>
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic