开发者

Prevent drop down list options scrolling on Windows in SWT

One of the drop down lists in my Java SWT application has 8 fixed options. When I click on it only 5 first options are visible and I have to scroll the list down to view the rest.

Is there 开发者_StackOverflowany way to force it to make all options visible without having to scroll down?

There is another similar .NET application that has same drop down list with the same options and they all are visible without having to scroll down!


Ah.. apparently there is a org.eclipse.swt.widgets.Combo.setVisibleItemCount(int) method that works on Windows. That was easier then I initially thought.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜