28 Oct 2010 10:09 PM #1
Changing width of FileUploadField
Been trying to increase the width of the textfield within the FileUploadField component.
Have tried setSize, but it only changes the height.
Tried getFileInput().setSize(..) (after render event) but seems to have no effect.
If I call setAutoWidth(true), the field itself seems to expand, but not the textfield within the component, as seen by the Browse button moving on the right side.
29 Oct 2010 2:05 AM #2
You have to call setWidth(500) of the fileuploadfield. Your code changes the size of some inner elements (which yuo dont want to do)
By Air_Mike in forum Ext 3.x: Help & DiscussionReplies: 12Last Post: 1 Jun 2011, 4:37 AM
By Tinki in forum Ext 3.x: Help & DiscussionReplies: 18Last Post: 25 Mar 2011, 3:38 AM
By maloi in forum Ext 2.x: BugsReplies: 3Last Post: 10 Feb 2009, 6:53 AM
By freez in forum Ext 2.x: Help & DiscussionReplies: 11Last Post: 17 Sep 2008, 1:45 AM