View Full Version : How do I setWidth of TextField?
TheBuzzer
22 Aug 2008, 8:04 AM
I am trying to change the textfield width but whatever I set. it is not resizing it self.
So setWidth does not work? What am I suppose to do to change its width
TheBuzzer
22 Aug 2008, 8:13 AM
never mind. I had to use formlayout to set the default width and put the textfield in that container
gslender
22 Aug 2008, 1:43 PM
try this...
panel.add(textfield,new FormData(100, -1)); // 100px wide
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.