1. #1
    Ext GWT Premium Member
    Join Date
    Dec 2008
    Posts
    57
    Vote Rating
    0
    moldoe is on a distinguished road

      0  

    Exclamation [FIXED] [1.2.3] MultiField fields dissapear on Window resize

    [FIXED] [1.2.3] MultiField fields dissapear on Window resize


    I have a very simple test case in which I have a resizable Window containing a FormPanel with a MultiField build from two TextFields. When I resize the window the TextFields become invisible. If I drag and move the window around they come back.

    I have to mention that in version 1.2.2 it was even worse because the fields were not visible after the window was shown. I had to drag it to make the fields visible.


    Windows XP
    IE7 and Hosted Mode
    GXT-1.2.3

    Here is the code:
    Code:
    public class FormClient implements EntryPoint {
    
        public void onModuleLoad() {
    
            final Window window = new Window();
            window.setLayout(new FitLayout());
            window.setHeading("Resize Me");
            window.setSize(400, 300);
            FormPanel formPanel = new FormPanel();
            TextField field1 = new TextField();
            TextField field2 = new TextField();
            MultiField multiField = new MultiField("Multi Field", field1, field2);
            formPanel.add(multiField);
            window.add(formPanel);
    
            Viewport viewport = new Viewport();
            viewport.add(new Button("Open Window", new SelectionListener<ComponentEvent>() {
                @Override
                public void componentSelected(ComponentEvent ce) {
                    window.show();
                }
            }));
    
            RootPanel.get().add(viewport);
        }
    }

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,755
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Thanks for reporting. I have a fix ready and it will be in svn soon. Tables are bad in IE

  3. #3
    Ext GWT Premium Member
    Join Date
    Dec 2008
    Posts
    57
    Vote Rating
    0
    moldoe is on a distinguished road

      0  

    Default


    Thank you!

    Daniel

  4. #4
    Ext GWT Premium Member
    Join Date
    Dec 2008
    Posts
    57
    Vote Rating
    0
    moldoe is on a distinguished road

      0  

    Default


    When it's fixed is it going to be included in a 1.2.x release or just trunk (2.0)?

    Thanks,

    Daniel

  5. #5
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,755
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Both 1.2 and 2.0 code. Will be part of the next release.

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,755
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Fixed in SVN.