Ext


Go Back   Ext JS Forums > Ext GWT Community Forums (2.x) > Gxt: Bugs

Reply
 
Thread Tools
  #1  
Old 11-03-2009, 03:18 PM
Andrey Minogin Andrey Minogin is offline
Ext GWT Premium Member
 
Join Date: Jul 2009
Posts: 31
Andrey Minogin is on a distinguished road
Default [CLOSED] FileUploadField sizing issue

Hello!

Windows Vista
Mozilla Firefox OOPHM
GXT 2.0.4 from today's SVN

I know this is sizing issue and it must have been fixed in 2.0.2, but it is still present in last SVN version (2.0.4). After showing the initially hidden FieldSet the FileUploadField misses Browse button.

public class FileField implements EntryPoint {
    @Override
    public void onModuleLoad() {
        FormPanel formPanel = new FormPanel();
        formPanel.setLabelWidth(150);
        formPanel.setFieldWidth(250);

        final FieldSet fieldSet = new FieldSet();

        final FormLayout layout = new FormLayout();
        layout.setLabelWidth(150);
        layout.setDefaultWidth(250);
        fieldSet.setLayout(layout);

        fieldSet.setCollapsible(true);
        fieldSet.collapse();
        fieldSet.setVisible(false);

        final FileUploadField field = new FileUploadField();
        fieldSet.add(field);

        formPanel.add(fieldSet);

        RootPanel.get().add(formPanel);

        RootPanel.get().add(new Button("SHOW", new SelectionListener<ButtonEvent>() {
            @Override
            public void componentSelected(ButtonEvent ce) {
                fieldSet.show();
            }
        }));
    }
}
Thanks in advance!
Reply With Quote
  #2  
Old 11-04-2009, 06:54 AM
mariusz.pala's Avatar
mariusz.pala mariusz.pala is offline
Ext GWT Premium Member
 
Join Date: Jun 2008
Location: Poland
Posts: 185
mariusz.pala is on a distinguished road
Default

I have the same issue. After window resize the Browse button shows up, but just after changing the FieldSet visibility to true, I have to call e.g. setWidth("90%"), setWidth("100%") to make the button visible.
Reply With Quote
  #3  
Old 11-04-2009, 12:33 PM
sven sven is online now
Ext GWT - Development Team
 
Join Date: Sep 2007
Location: Germany
Posts: 4,260
sven is on a distinguished road
Default

This is linked to some browser problem. We will add a workaround for this into 2.1.

Please use the forum search before posting bugs, because this was reported before many times.
Reply With Quote
Reply

Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 09:51 AM.

© 2006-2009 Ext, LLC
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.