Community
Participate
Working Groups
I have a Composite which is the child of a ScrolledComposite and when the topControl changes I recalculate the size needed by the Composite and update the minSize of the ScrolledComposite. The problem is that when using computeSize() the StackLayout uses the size of ALL its children instead of only the current topControl. I've subclassed the layout but thought it be maybe possible to directly provide this feature as part of the StackLayout. The code I use can be obtained from here: http://dev.eclipse.org/viewcvs/index.cgi/e4/org.eclipse.e4.tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/common/EStackLayout.java?view=markup
This feels kind of like bug 278572. Or is this something different?
... well this talks about layout() I'm talking about computeSize() which takes all children into account which might be a good thing under certain cirtumstance but has undesired effects in my use case where I need to calculate the min-size for the ScrolledComposite to show Scrollbars.
Doing some housekeeping -- I don't think this is Mac-specific, so moving to All/All.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.