You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by anton dos santos <ad...@free.fr> on 2011/01/27 22:14:35 UTC

border dimensions

Hi
I noticed that the width of a border depends on the width of its title.
Is this intended?

here an example:

<Window title="borderTest" maximized="true"
     xmlns:bxml="http://pivot.apache.org/bxml"
     xmlns="org.apache.pivot.wtk">

<BoxPane orientation="vertical">
<Border>
<Label text="look at the border"
         styles="{font:'Arial bold 24'}"/>
</Border>
<Border title="Title">
<Label text="look at the border"
         styles="{font:'Arial bold 24'}"/>
</Border>
<Border title="Very looooooong title">
<Label text="look at the border"
         styles="{font:'Arial bold 24'}"/>
</Border>

</BoxPane>

</Window>

Re: border dimensions

Posted by Greg Brown <gk...@verizon.net>.
Woops. Just checked in a fix. Thanks for catching that.

On Jan 27, 2011, at 4:14 PM, anton dos santos wrote:

> Hi
> I noticed that the width of a border depends on the width of its title.
> Is this intended?
> 
> here an example:
> 
> <Window title="borderTest" maximized="true"
>    xmlns:bxml="http://pivot.apache.org/bxml"
>    xmlns="org.apache.pivot.wtk">
> 
> <BoxPane orientation="vertical">
> <Border>
> <Label text="look at the border"
>        styles="{font:'Arial bold 24'}"/>
> </Border>
> <Border title="Title">
> <Label text="look at the border"
>        styles="{font:'Arial bold 24'}"/>
> </Border>
> <Border title="Very looooooong title">
> <Label text="look at the border"
>        styles="{font:'Arial bold 24'}"/>
> </Border>
> 
> </BoxPane>
> 
> </Window>