[Users] add a "sliding msg box" to the mappanel

Pierre Giraud pierre.giraud at camptocamp.com
Fri Sep 11 18:00:26 CEST 2009


What I would do is change the example.js code in 26 like the following :

msgCt.alignTo(theElementToAlignTo, 't-t');

In the menu example, I got it working by replacing theElementToAlignTo by
"toolbar".
In your case, replace it by mappanel.body and you should be done.

And what about using a StatusBar ? It probably has the same results and is
less intrusive.

Regards,
Pierre



On Fri, Sep 11, 2009 at 4:40 PM, <Steve.Toutant at inspq.qc.ca> wrote:

> Hello,
>
> I use the xtype: 'gx_mappanel' in an Ext viewport.
>
> I would like to use the "sliding message box" from this extJS sample. You
> can see this box When you click on the "Toggle Me" button.
> http://www.extjs.com/deploy/dev/examples/menu/menus.html
>
> But in this example the message box appears in the document body, which is
> behind the mappanel. I would like this message box to appear on the mappanel
> below the toolbar.
> How can I accomplish that please?
>
> thanks
> Steve
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Pierre GIRAUD
Géomaticien, Analyste

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20090911/2041f658/attachment.htm 


More information about the Users mailing list