[Users] How to achieve a fixed height in regions: "east"
Matt Priour
mpriour at kestrelcomputer.com
Mon Sep 6 19:42:33 CEST 2010
Use an anchor layout or an hbox layout for the east region. Then give
appropiate positioning parameters to the components.
For example (using anchor):
{region:'east',
layout:'anchor',
items:[
{my layer tree config,
anchor:'100% 75%'},
{my legend config,
anchor:'100% 25%'}
]
}
Matt Priour
--------------------------------------------------
From: "Robert Buckley" <robertdbuckley at yahoo.com>
Sent: Monday, September 06, 2010 11:52 AM
To: <users at geoext.org>
Subject: [Users] How to achieve a fixed height in regions: "east"
> Hi,
>
> I´m trying to fit the legend and tree into the east region of a viewport,
> but
> can´t find any examples to hack the code. Looking at the ext documentation
> it
> looks like i have to define a custom layour.
>
> Is this the right method? Would anyone have an example of how this
> works?,
>
> Yours,
>
> Robert Buckley
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list