Hi,

That works, but basically has the same problem that I need to do my own styling.

Jim

On 04/12/2014 06:35 PM, Brad Spencer wrote:

Jim,

I embed html all the time in my panels when I feel its warranted.

I use ext 3.4.

items:

[{

xtype: 'spacer',

height :28,

html: '<span class="infoText">DDrape Template : <b> '+myTempName+'</b><br/>'

+Owner Name : <b>'+username+'</b></span>'

},{...

Hope this helps.

Cheers, Brad...

*From:*users-boun...@geoext.org [mailto:users-boun...@geoext.org] *On Behalf Of *Jim White
*Sent:* Sunday, 13 April 2014 7:57 AM
*To:* users@geoext.org
*Subject:* [Users] help with extjs

Hi,

I need some help with Extjs, not specifically GeoExt.

How to I add html to a panel. The best I can do is:

{
            xtype: 'box',
            autoEl: 'div',
            id: 'login-msg',
            cls: 'mycontent'
        }

However, this requires me to do all my own styling. Basically I have a login form at the top of my panel, and want to add login status, registration link, etc. below this.

Jim

--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps <http://whitecodingandmaps.com/>



--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps <http://whitecodingandmaps.com/>
_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to