-
28 Apr 2011 3:53 PM #11
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.
-
15 May 2011 8:27 PM #12
Note that this issue is still not fixed in the 2.2.4 release
-
16 May 2011 12:37 AM #13
This thread will be updated once its fixed.
-
27 May 2011 9:25 AM #14
I removed the change for now as long as isVisible is implemented correctly.
-
27 May 2011 10:14 PM #15
Thanks Sven,
So this fixes the layout issues (rev 2394) - is the visibility issue you were worried about still a problem?
Regards,
Carl.
-
28 May 2011 12:35 AM #16
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.
-
24 Jun 2011 7:01 AM #17
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:
Executing this code results in a white browser screen, no text is displayed.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); }
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();
Any suggestions how to solve this problem?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); } }
-
24 Jun 2011 7:03 AM #18
You need to size your layoutcontainer, this is not a bug.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Help with RowLayout
By vladcd in forum Ext 3.x: Help & DiscussionReplies: 8Last Post: 23 Apr 2010, 7:04 AM -
RowLayout
By jsknight in forum Ext 3.x: Help & DiscussionReplies: 6Last Post: 3 Mar 2010, 1:42 AM -
Where can I get RowLayout
By zeroed in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 27 May 2009, 3:18 AM -
Ext.ux.RowLayout
By mangrar in forum Ext 2.x: User Extensions and PluginsReplies: 2Last Post: 19 Feb 2008, 4:26 AM


Reply With Quote