|
|||||||
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
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();
}
}));
}
}
|
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
|
|