Questions tagged [scrolledcomposite]
50 questions
0
votes
0 answers
Nattable in SashForm expands the ScrolledComposite
I have a View(ScrolledForm) that contains two columns. In each column there is a SashForm and each section of the SashForm contains a Nattable. Now the requirement is that once the Sections widths (weights for the Sash) is done and the view is…

Hushedar Merwan
- 42
- 6
0
votes
0 answers
Trying to create 2000 text widgets(SWT) inside a scrolled composite but only 1092 get created
I am trying to create 2000 text boxes inside a scrolled composite SWT but only 1092 widgets get created.
I am using grid layout in my code and when i change the layout to FillLayout the number of widgets that get displayed gets increased but again…

A.G
- 3
- 6
0
votes
1 answer
How to implememt a dynamic sized shell with a ScrolledComposite in eclipse SWT?
I have created a Shell and added a ScrolledComposite to it that contains a Text as its content. But I want the shell to change the size dynamically based on the content size. My implementation is as follows
shell.setLayout(new…

Sneha V
- 83
- 2
- 9
0
votes
1 answer
ScrolledCompsite in TabFolder sizes content to zero
I have the following problem:
I'm using SWT to create a GUI for my application. I have a TabFolder in which I add several TabItems and in each of those I create a ScrolledComposite that holds some content.
The TabFolder is displaying fine, however…

Raven
- 2,951
- 2
- 26
- 42
0
votes
0 answers
SWT Label inside a scrolled composite is not wrapping dynamically
I am using a scrolled composite which contains a composite inside it and that composite contains a label. This whole scrolled composite is inside a jface dialog.
My problem is that without hardcoding the width I need to set the size of inner…

Akki
- 1
- 1
0
votes
1 answer
How to get contents to show up inside a ScrolledComposite
I am creating a legend view and inside the shell is supposed to have a rectangle followed by a label describing the color. I was able to get the view to work using just a normal composite but the legend continues beyond the screen and no way of see…

Justin
- 39
- 7
0
votes
1 answer
Why is setSize method necessary to show scroll on Composite in SWT?
I'm working on to create UI with JAVA SWT.
One thing makes me confused with using ScrolledComposite.
Why my code does not show a scroll without setting the MinSize of Composite?
Can anyone explain what setMinSize does in ScrolledComposite?
Why can't…

Jay. K
- 52
- 2
- 10
0
votes
0 answers
RAP swt ScrolledComposite breaks in disposal while user interaction persists
I have a RAP application where I am refreshing widgets and content. In all instances everything works flawlessly (sudo: class call->render content->add disposelisteners->wait for content outdated timeout->call run() to dispose previous content and…

Elysiumplain
- 711
- 8
- 21
0
votes
1 answer
How to get the scrollbars to work in a ScrolledComposite when using GridLayout?
I am trying to have a scrolled composite with a fixed size content and a label below the scrolled composite display status information of the scrollable content. As I want the controls to resize with the parent, I have used GridLayout on their…

Monikka
- 518
- 6
- 12
0
votes
0 answers
How to implement scroll composite only for an inner composite
I am trying to implement a scrolled composite for one of the composite (top composite as shown in the picture). My intention is to add a scroll bar for the upper composite only, because when the window gets resized then save button becomes…

Srikant Barik
- 133
- 2
- 12
0
votes
1 answer
Is it possible to add a Button to a ScrolledComposite directly?
ScrolledComposite extends Composite. So is it possible to add Button to the scrolled composite directly without having another composite in it?

Raj Pannala
- 67
- 1
- 9
0
votes
1 answer
How to set scrollcomposite for one TabItem in SWT?
I am trying the following code to set scrollcomposite for TabItem "item2". But couldn't get the scroll bar.
Here I created two tabItem , where I need to set scrollcomposite / scrollbar for only item2 not for item1
Display display = new…

user3797234
- 57
- 7
0
votes
1 answer
Why is only 1 of my ScrolledComposites scrolling with the mouse wheel?
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…

whitesoup12
- 3
- 1
0
votes
1 answer
How can I scroll a ScrolledComposited in Eclipse SWT Design view?
I have a Composite that is nested in a ScrolledComposite. The ScrolledComposite works fine when running but I am wanting to find a way to be able to edit content in the Design view that falls beneath the ScrolledComposite height. As of now I have…

whitesoup12
- 3
- 1
0
votes
1 answer
ScrolledComposite doesnt scroll by mouse wheel
mouse wheel is working properly on macosx but not working on windows.
here is my layout structure, i implemented mousewheel listener but its not triggering tho.
scrolledComposite.addListener(SWT.MouseWheel, new Listener() {
public void…

Alper
- 231
- 4
- 11