Why is only 1 of my ScrolledComposites scrolling with the mouse wheel?

80 views Asked by At

Here's my current setup... I have several tabs (Using CTabFolder and CTabItems) each with its own ScrolledComposite. I was able get the first tab working with the answer from https://stackoverflow.com/a/23882007/4288015 but this does not work when applied to the other ScrolledComposite on the second tab. The second tab doesn't recognize the mouse wheel even with the MouseWheel listeners removed from both ScrolledComposites. What might be the issue causing the first tabs ScrolledComposite to work but not the second one?

1

There are 1 answers

0
whitesoup12 On

I was able to fix the issue by using StyledText instead of Text. This allowed me to wrap the text and maintain the mouse wheel scroll capabilities.