I have a scrolling composite, whose content is being truncated I'm googled and know that it is a known on Windows topic is.
Only the suggested workaround can be found
Looking at the age of this issue, I was wondering if there is a good success?
Thank you!
(Edit: At the time of writing, the link was :)
(JIS The link you posted on the link found 400 error)
I'm sure if my problem was the same, but I also went into a small problem with scrolling composite. The problem was that when I gave a brief size to scroll and the scrollbar appeared, the controls did not have an account for the space raised by the scrollbar, to solve it, I used to have a kind of resizing list for scrolling composite Added recurring bit code:
After you set the size of the composite of your content, scroll up, get the compass scrollbar RticalBar (for example) has just become visible. If so, send a new resize event to your listener. Here is a snippet from my code ...
Public Zero Disposal Event (Event Event) {int newWidth = scrolledComposite.getSize (). X; Boolean hashcrol = false; Scrollbar scrollbar = scroll composite.getVerticalBar (); If (scrollBar.isVisible ()) {hasScroll = true; NewWidth - = scrolledComposite.getVerticalBar () GetSize () X; } NewWidth - = 8; Point size = contentComposite.computeSize (Nudooth, SWT.DEFAULT); ContentComposite.setSize (size); Int scroll_multiplier = size.y / 50; ScrollBar.setIncrement (scroll_multiplier); / ** * If the scroll bar appears again due to the size, then we need to resize it again, because some extra space has been taken in the scroll bar * / if (scrollBar.isVisible () ;;; Haskell) {scrolledComposite.notifyListeners (SWT.Resize, null); Edit: Wow ignored me for the date of OP. Hope it ends up helping someone in any way ...
Comments
Post a Comment