1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default [FIXED] Checkbox unchecked on resize with IE6

    [FIXED] Checkbox unchecked on resize with IE6


    Env : Windows XP, GXT 1.0beta3
    In some cases, checkboxes are unchecked when you resize the window (with mouse, I didn't try programmatic resize). The bug reproduces in hosted mode for me and in web mode with IE6 (no issue with FF3). Here is the code :
    Code:
        public void onModuleLoad(){
            final Viewport viewport = new Viewport();
            viewport.setLayout(new BorderLayout());
            FormPanel formPanel = new FormPanel();
            formPanel.setFieldWidth(200);
            formPanel.setLabelWidth(100);
            formPanel.setHeading("My panel");
            formPanel.setWidth(350);
            CheckBox checkBox = new CheckBox();
            checkBox.setFieldLabel("CheckBox");
            formPanel.add(checkBox);
            TabPanel tabPanel = new TabPanel();
            TabItem tabItem = new TabItem("form");
            tabItem.add(formPanel);
            tabPanel.add(tabItem);
            viewport.add(tabPanel,new BorderLayoutData(LayoutRegion.CENTER));
            viewport.add(new ContentPanel(),new BorderLayoutData(LayoutRegion.WEST,150));
            RootPanel.get().add(viewport);
        }
    Important remarks :
    - if I don't use BorderLayout and I only put the tab panel directly in the viewport, no issue
    - if I don't use a TabPanel and I put the form panel directly in the center region, no issue
    - in my application, I don't use a TabPanel but a subclass of LayoutContainer with a CardLayout.

    Therefore I guess it is the combination of a CardLayouted-container in a BorderLayouted-container that causes the issue.

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    There was a problem with card layout and resetting the pages content. It is the same issue as scroll position being reset when traversing the tabs in a tabpanel. This is fixed in SVN.

  3. #3
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default


    Great ! Thanks !

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar