Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    45
    Vote Rating
    0
    raivis is on a distinguished road

      0  

    Default ScrollSupport for Vertical[Horizontal]LayoutContainer not implemented?

    ScrollSupport for Vertical[Horizontal]LayoutContainer not implemented?


    I don't know if it is not implemented or if it is supposed to be like that and one should implement ScrollSupport himself.
    ScrollSupport for CssFloatLayoutContainer and FlowLayoutContainer:
    Code:
    @Override
    public ScrollSupport getScrollSupport() {
        if (scrollSupport == null) {
            scrollSupport = new DefaultScrollSupport(getContainerTarget());
        }
        return scrollSupport;
    }
    ScrollSupport for PortalLayoutContainer:
    Code:
    public AutoScrollSupport getAutoScrollSupport() {
        if (scrollSupport == null) {
            scrollSupport = new AutoScrollSupport(getElement());
        }
        return scrollSupport;
    }
    ScrollSupport for VerticalLayoutContainer and HorizontalLayoutContainer:
    Code:
    @Override
    public ScrollSupport getScrollSupport() {
        return scrollSupport;
    }
    ScrollSupport for last two is never created thus null is returned. Ofcourse one could create his/her own ScrollSupport and set it manually. Just wanted to know if it is supposed to be that way or it is not yet implemented in Vertcal and Horizontal LayoutContainers?

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    34
    Vote Rating
    0
    MarcT is on a distinguished road

      0  

    Question


    I am also looking for an answer to this question. Seems like an oversight on Sencha's part, as adding scrolling to VLC & HLC should be as easy as possible (in fact, I'd really like them to just expose the setScrollMode() function directly from the container).

    But even if Sencha has decided not to make it easy for us, a definite answer would be helpful.

  3. #3
    Ext GWT Premium Member
    Join Date
    Dec 2011
    Location
    Earth
    Posts
    243
    Vote Rating
    1
    nbuesing is on a distinguished road

      0  

    Default


    I too would like to know if this is something planned to be implemented, or if this is intentional?

    Can someone please given an update on this.

    Thanks.

  4. #4
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for pointing this out. I've filed a ticket against the team to take a look at why this is inconsistent. I'll update this thread with any changes we make.

  5. #5
    Ext GWT Premium Member lefke123's Avatar
    Join Date
    Dec 2011
    Location
    Belgium
    Posts
    75
    Vote Rating
    2
    lefke123 is on a distinguished road

      0  

    Default


    We've just encountered this issue as well, and looking at the most recent code (revision 2195) it's not included yet. As a workaround, just set the scroll support with:
    Code:
    container.setScrollSupport(new DefaultScrollSupport(container.getElement()));
    But I agree with MarcT that setScrollMode would be an excellent delegate in the container.

    I'd like to know if this is something that will be included in the final 3.0 beta, or not? Thanks in advance.

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


    getScrollSupport now creates a new instance as needed everywhere. We also added get / set ScrollMode delegates to the container's that implement HasScrollSupport. Changes are in SVN and will go out in next release.

  7. #7
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    This inconsistency has been corrected in the Ext GWT 3.0 Release Candidate. Please upgrade your copy of Ext GWT and try your test case again. While we're confident that we've addressed this issue, please reply if you notice any continued problems after upgrading. Again, thanks for taking the time to report and describe this bug.

  8. #8
    Touch Premium Member
    Join Date
    Mar 2008
    Location
    Morgan Hill, CA
    Posts
    122
    Vote Rating
    3
    margozzi is on a distinguished road

      0  

    Default


    Setting ScrollMode to AUTO doesn't work for me. Did other actuall yget this to work?

  9. #9
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,639
    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


    Margozzi, are you setting the height/width of the container to be less than the size of the contents?

    For HLC and VLC it rarely makes sense to have a scrollbar - these containers are designed to use up all remaining space, rather than be used as stacks of items. In general, check out CssFloatLC or FlowLC for this kind of thing, or perhaps some of the document-based containers in GWT itself.

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