Does SWT StyledText have a height limit?

This is actually a Windows limitation. Composites may only be of a certain size in windows, no more than 32767 (pixels, I assume).

This is actually a Windows limitation. Composites may only be of a certain size in windows, no more than 32767 (pixels, I assume). This is find for the scrolledComposite because it isn't actually > 32767, it just appears to be.

Whereas with the mainComp the actual size is > 32767 and this is where we got cut off. Initially I thought this was an Eclipse bug and filed a report where I was informed that this was a Windows issue/feature: https://bugs.eclipse.org/bugs/show_bug. Cgi?

Id=333111.

The bug was closed as this is a Windows limitation not an eclipse limitation. – Andrew Jan 4 '11 at 9:00.

And then consequently make the StyledText scroll instead of the ScrolledComposite. StyledText has support for embedding both images and controls, and you are able to implement listeners (for instance VerifyListener) to keep the user from deleting the embedded object - if that is what you want. Here's some sample code: java2s.com/Tutorial/Java/0280__SWT/Style... java2s.com/Tutorial/Java/0280__SWT/Style... If you want your controls to look better than in the second example, you can make your controls take up the whole width of the text area (and listen to events for when the area is resized - use styledText.

AddListener(SWT. Resize, new Listener() ...).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions