Questions tagged [scrolledcomposite]

50 questions
0
votes
1 answer

Java SWT - ScrolledComposite inside Group

I have a problem with putting ScrolledComposite inside the Group - it doesn't show inside the Group. ScrolledComposite has to scroll the Label. final private static Group group_netpbmOutput = new Group(shell, SWT.NONE); final private static…
jirinovo
  • 2,105
  • 3
  • 26
  • 37
0
votes
1 answer

Should I set ScrolledComposite content twice? How to use ScrolledComposite correctly?

How to use ScrolledComposite correctly? The following is slightly modified Snipped166: import org.eclipse.swt.*; import org.eclipse.swt.custom.*; import org.eclipse.swt.events.*; import org.eclipse.swt.graphics.*; import…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
0
votes
1 answer

SWT Tree in a ScrolledComposite

I have been trying for some time to create a dialog which contains a composite. The composite has the ability to add horizontal and vertical scrollbars if it becomes too small to show its content. Inside the composite there is a tree widget. This…
0
votes
1 answer

SWT tandem scrollbars in composite

I'm trying to add a button above the create two ScrolledComposites that scroll in tandem snippet from swt snippets the problem is that if I put the example code in a different Composite than the shell the example not working import…
yossico
  • 3,421
  • 5
  • 41
  • 76
0
votes
1 answer

Display content in ScrolledComposite

I want to create a view that users can zoom in and zoom out, so I planned to implement the view by using ScrolledComposite: ScrolledComposite sc = new ScrolledComposite(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL); sc.setBounds(0, 0,…
Hieu Nguyen
  • 382
  • 2
  • 15
1 2 3
4