PDA

View Full Version : Form Label display problem



CoolGoose
11 May 2009, 12:09 AM
Hi all.
I'm a noob when it comes to extjs so please be gentile

I'm trying to create a form into a window but for some reason the Label

Here's the page (http://cg.dev.webland.ro/extjs/) and here's the source (http://pastebin.ca/1418998)

Any tips ? :)

Thanks

Animal
11 May 2009, 12:24 AM
Do not use layout 'absolute'

It's the FormLayout layout manager which adds labels.

I don't see many use cases for absolute layout.

CoolGoose
11 May 2009, 12:37 AM
Thanks a lot. It never crossed my mind that the absolute layout was hiding the label :)

Animal
11 May 2009, 12:58 AM
It's not "hiding"

The form layout manager adds labels. No other layout manager does.

Animal
11 May 2009, 1:00 AM
As clearly documented which you must have seen because you used the fieldLabel config!

http://extjs.com/deploy/ext-3.0-rc1.1/docs/?class=Ext.form.Field&member=fieldLabel