Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11
    Ext GWT Premium Member
    Join Date
    Mar 2009
    Posts
    226
    Vote Rating
    3
    The_Jackal is on a distinguished road

      0  

    Default


    One of the support guys agreed that it's a problem, but did not give any time frames. Looking at how many issues are not being answered on this forum at the moment, my guess is that GXT3 is the current focus. Seeing that even raising a ticket didn't prompt a patch, I'd say you'd be better to work around this issue for now.

  2. #12
    Ext GWT Premium Member
    Join Date
    Mar 2009
    Posts
    226
    Vote Rating
    3
    The_Jackal is on a distinguished road

      0  

    Default


    Note that this issue is still not fixed in the 2.2.4 release

  3. #13
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This thread will be updated once its fixed.

  4. #14
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I removed the change for now as long as isVisible is implemented correctly.

  5. #15
    Ext GWT Premium Member
    Join Date
    Mar 2009
    Posts
    226
    Vote Rating
    3
    The_Jackal is on a distinguished road

      0  

    Default


    Thanks Sven,

    So this fixes the layout issues (rev 2394) - is the visibility issue you were worried about still a problem?

    Regards,
    Carl.

  6. #16
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Yes, and the thread that coursed this change was much longer and more often on internal tickets. However as the second half of the patch did not make it into GXT so far, i reverted the change.

  7. #17
    Ext Premium Member
    Join Date
    Jun 2009
    Posts
    27
    Vote Rating
    0
    jCOM1 is on a distinguished road

      0  

    Default


    Even in the most up to date SVN version the RowLayout doesn't work if you use Orientation.HORIZONTAL as you can see in this simple use case:
    Code:
        public void onModuleLoad() {
            LayoutContainer lc = new LayoutContainer(new RowLayout(
                    Orientation.HORIZONTAL));
            lc.add(new Text("Item1"));
            lc.add(new Text("Item2"));
            RootPanel.get().add(lc);
            lc.layout(true);
        }
    Executing this code results in a white browser screen, no text is displayed.
    Using FireBug you can see that all html tags are present, but somehow not displayed.

    Changing from Orientation.VERTICAL to Orientation.HORIZONTAL you can see that the LayoutContainers style-attribute gets extended by postition: relative; which seems to be the cause for not showing the text elements.

    RowLayoutIssue.jpg

    Investigating the RowLayout class it seems to be the onLayout method which adds this style be calling target.makePositionable();
    Code:
      @Override
      protected void onLayout(Container<?> container, El target) {
        super.onLayout(container, target);
    
        if (container instanceof ScrollContainer<?>) {
          ScrollContainer<?> sc = (ScrollContainer<?>) container;
          sc.setScrollMode(sc.getScrollMode());
        } else {
          target.setStyleAttribute("overflow", "hidden");
        }
    
        if (orientation == Orientation.VERTICAL) {
          layoutVertical(target);
        } else {
          target.makePositionable();
          layoutHorizontal(target);
        }
      }
    Any suggestions how to solve this problem?

  8. #18
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You need to size your layoutcontainer, this is not a bug.

Similar Threads

  1. Help with RowLayout
    By vladcd in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 23 Apr 2010, 7:04 AM
  2. RowLayout
    By jsknight in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 3 Mar 2010, 1:42 AM
  3. Where can I get RowLayout
    By zeroed in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 27 May 2009, 3:18 AM
  4. Ext.ux.RowLayout
    By mangrar in forum Ext 2.x: User Extensions and Plugins
    Replies: 2
    Last Post: 19 Feb 2008, 4:26 AM

Thread Participants: 5