Community
Participate
Working Groups
The JAXB resources tab always displays a scroll bar. If all controls are currently in the view, the scroll bars should not be shown.
This is a little more subtle than stated here. If you have a single controller (top level tab), this never happens. It only happens when there are two or more tabs, and one of the invisible ones has a paint area larger than the LaunchTab size. Then even if the current visible tab contains all its widgets inside that sized area, it still displays a scroll. I will try to do something about this, though I am uncertain about what. I hate the way this scrolling is set up to begin with. I think that scrolling should be an option of the implemented tab and not provided by the parent ResourcesTab.
Added a SelectionListener to the top level TabFolder holding the tab items. The event triggers a resize of the scrolled parent. There is still a small issue with the parent scrolled area not resizing properly (to cover the entire height of the child). Working on that ...
Seems adding a small margin to the computed control size does the trick.
(In reply to comment #1) > > I will try to do something about this, though I am uncertain about what. I > hate the way this scrolling is set up to begin with. I think that scrolling > should be an option of the implemented tab and not provided by the parent > ResourcesTab. We could look at this after the 5.0 release if you think it worthwhile.