In GXT 2.2 Textfield setWidth("100%") is not working.
When i try it like this: setWidth("100") the textfield width is set to 100px...

With GXT 2.0 setWidth("100%") was ok....

Do i have to do something different to use percentage width?

Thank u for help

sven

23 Jul 2010, 12:40 AM

percentages witdth were never working. You should use the layoutsystem

miwe76

23 Jul 2010, 12:43 AM

Why did it work width GxT 2.0 when i use testfield.setWidth("100%");?
How can i say to a layout that there certain textfield that will a have a width with 100%?

sven

23 Jul 2010, 12:44 AM

Also if it looked that it worked, it was not working.

You cano do that with the FormLayout for example. However, nobody can asnwer this for you, as younobody knows your app and nobody knows what you are doing. You need to psot your code so that somebody can help you

miwe76

26 Jul 2010, 1:43 AM

Here is my Code.

The instrumentDescriptionTf set the width not to 100%. only the div arround the input field set the width the 100%.
So the textfield is smaller than the Cell of the Column