Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    54
    Vote Rating
    0
    DarekKay is on a distinguished road

      0  

    Default [FNR] TabPanel and VBoxLayoutContainer

    [FNR] TabPanel and VBoxLayoutContainer


    It seems, like it's not possible to use a VBoxLayoutContainer within a TabPanel:
    Code:
        public void onModuleLoad()
        {
            TabPanel tab = new TabPanel();
    
            //ContentPanel f = new ContentPanel(); // --> this one works great
            VBoxLayoutContainer f = new VBoxLayoutContainer();
            f.add(new Label("Q"));
            tab.add(f, "bug");
            tab.add(new TextButton("testButton"), "showTestButton");
            RootLayoutPanel.get().add(tab);
    
        }
    And that's, how it looks like:
    bug-tabpanel.jpg
    The Label (or any other Widget) is rendered over the whole TabPanel. A ContentPanel doesn't make such problems, but since I am using VBoxLayoutContainer most of the time (automatic strech and flex on last item is just great), I hope this one will get fixed.

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Posts
    54
    Vote Rating
    0
    DarekKay is on a distinguished road

      0  

    Default


    It seems like the GWT-TabPanel has the same behaviour. It work's fine with a GWT-TabLayoutPanel , but since I prefer the GXT widget, I have to use a ContentPanel wrapper to show my VBoxContainer correctly.

    I had no problems with GXT 2.x - but since you're obviously trying to close the gap between GXT and GWT, equal behaviour is the right way to go. My solution shouldn't stay unmentioned though, since I don't think I'm the last person facing this problem.

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    Appears to be a bug in VBoxLayoutContainer from that then - adding position:relative to the Label's parent, or parent's parent seems to fix it.

    We'll update this thread when a fix is available.

  4. #4
    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


    This is now fixed in SVN (rev 1934). Change will go out in next release next week.

Thread Participants: 2

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