PDA

View Full Version : Field width 100% problem



dverkade
18 Jun 2011, 1:24 AM
Hi,

I have a problem with the width of a field. I have a panel with a margin of 5px. Within this panel a field is displayed. The field should fill the width of the parent panel, which it standard doesn't do. So I set the width to 100%. The field is rendered larger the parent container, so a part of the field is displayed out of view in the browser. See the screenshot below.

Is there a way to fix this?

http://www.webtricksframework.com/tmp/fieldwidth.png

skirtle
19 Jun 2011, 3:54 PM
http://dev.sencha.com/deploy/ext-3.4.0/examples/form/absform.html
http://dev.sencha.com/deploy/ext-3.4.0/examples/form/anchoring.html

If they don't help you'll need to post your code.