Questions tagged [scrolledcomposite]
50 questions
1
vote
1 answer
How to set the max height of ScrolledComposite in SWT
I have a ScrolledComposite with a button which creates a new button below, "on the next row". And every time I adapt the height of my composite with pack().
But now I want to set the maximum height so, that from a certain size the height of the…

88digitsofpi
- 17
- 4
1
vote
1 answer
How can I show Scroll on my UI, with JAVA, SWT?
I'm trying to put a ScrolledComposite on my UI with SWT.
but now it only shows blank area or something wrong.
The area to show ScrolledComposite is blank without the code,
…

Jay. K
- 52
- 2
- 10
1
vote
1 answer
ScrolledComposite splits the screen vertically and content is displayed in the right half
I am using the ScrolledComposite for a existing control(with many children) based on the method2 mentioned here :http://www.placelab.org/toolkit/doc/javadoc/org/placelab/util/swt/SwtScrolledComposite.html
The only change is instead of creating a new…

user508435
- 11
- 4
1
vote
1 answer
How to make TreeViewer span ScrolledComposite
I have dialog with n numbers of Trees on the left side of a SashForm.
Each tree is in a ScrolledComposite.
My problem is that there is so much empty space between inside the scrolled composite that isn't covered by the tree, and I don't know how to…

Happy Coder
- 1,293
- 1
- 19
- 35
1
vote
1 answer
How to remove a mouse wheel listener in SWT
I am trying to remove and replace a mouse wheel listener on a ScrolledComposite in SWT. The scrolled composite has a removeMouseWheelListener method, however it has no way of gaining access to a the mouse wheel listener to remove it. I have tried…

Terrik
- 17
- 5
1
vote
1 answer
Unable to set size for a scrolled composite SWT
I have a main composite and within it two scrolled composites. The first scrolled composite does not have anything within it as of now. The second scrolled composite has a list. The problem is since that list is large, the second scrolled composite…

Lishus
- 15
- 7
1
vote
0 answers
ScrolledComposite: scroll bar is not showing when needed
I have a UI which looks like below.
What I'm trying to do here is I initialize the whole UI in the beginning and call the relayout() method whenever the user has filled some input. The problem here is, if my content (the "name" here) takes more…

huao
- 554
- 1
- 5
- 22
1
vote
2 answers
How to listen for divider move in SashForm in SWT?
How to listen for divider move in SashForm in SWT?
I want to resize content object so that it was the width of the ScrolledComposite (in one of the parts of SashForm) and automatic height.

Dims
- 47,675
- 117
- 331
- 600
1
vote
2 answers
Resize expandbar SWT in ScrolledComposite
I am building an java SWT standalone application with an expandbar inside a scrolledcomposite. At some point i will add a field to one of the components. Hence the size of the item will grow. First i destroy all the current items inside the…

user1997322
- 11
- 1
- 4
1
vote
1 answer
How to fill a ScrolledComposite?
I have a class extending from ScrolledComposite, within this class I have created a Composite which is intended to fill the parent ScrolledComposite. But whenever I add labels to the inner composite it wraps to the upper right corner only. I want my…

Anas
- 177
- 1
- 11
1
vote
1 answer
How do I get a Composite containing FlowLayout inside a ScrolledComposite to grow vertical and not horizontal?
I'm trying to create a Composite containing FlowLayout inside a ScrolledComposite so that the Composite inherits its width from the ScrolledComposite but grows in height dynamically. I've searched some snippets but I'm not getting them to work; I…

Hultner
- 3,710
- 5
- 33
- 43
0
votes
1 answer
Eclipse RCP Image Application: How Do I Lay Out My Images?
I have an Eclipse plugin that displays a view. What I want to do is display n images in the view in a single row with a centered label under each image. I want to view to be scrollable.
I also want each image to be re-sized when the dimensions of…

Dr. Faust
- 1,021
- 3
- 14
- 22
0
votes
0 answers
Horizontal Alignment Off for Dynamic Composite within a ScrolledComposite
I have a parent ScrolledComposite with a dynamic child Composite. When I delete a row, the alignment appears off when using the ScrolledComposite. I have tried this using just Composite instead of ScrolledComposite and it appears to work, so I am…

WxJack
- 21
- 6
0
votes
1 answer
SWT Table inside ScrolledCompsite: no scrolling by Mouse Wheel
The code below is taken from:
How to always show vertical scroll bar in SWT table?
Table in the ScrolledComposite scrolls only by moving vertical scrollbar by Mouse or by putting Mouse directly onto vertical scrollbar and scroll the Wheel.
Could you…
0
votes
1 answer
Eclipse SWT ScrolledComposite refuses to scroll
I'm developing a plugin for eclipse and I'm struggling to use ScrolledComposite as well as making it take up the remaining space.
The parent layout is a 2-column Grid:
@Override
public void createPartControl(Composite parent) {
…

user3340459
- 435
- 5
- 13