Combo with vertical scroll doesn't work [message #552235] |
Wed, 11 August 2010 11:44 |
Eclipse User Messages: 34 Registered: July 2010 |
Member |
|
|
Hi !
I'm using a READ_ONLY combo in my wizard :
combo = new Combo(container, SWT.READ_ONLY );
combo.setVisibleItemCount(2);
combo.setItems(new String[] {"aa", "bbb", "sss","aa"});
GridData gd_combo = new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1);
gd_combo.widthHint = 441;
combo.setLayoutData(gd_combo);
My problem is that I want a vertcal scroll to appear in my combo , but the setVisibleItemCount doesn't seem to work in my case .
I've also added V_SCROLL but it doesn't work , it seems that it's a bug with linux because I've read that on windows the scroll appears !
What can I do to have the scroll
Please help me to find the solution and thanks in advance .
[Updated on: Wed, 11 August 2010 12:28] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02845 seconds