GWT 2.5.1 - 限制下拉列表中的可见条目数(ValueListBox)

时间:2015-04-22 08:12:36

标签: css gwt web internet-explorer-11

我正在使用ValueListBox来显示要选择的用户的值列表。 我对该列表的问题是,使用IE11时,单击控件时其行为相当糟糕: 1.列表显示在它上面(imho它应该正确显示不是在当前选择,这是它使用谷歌浏览器的行为) 2.显示的条目太多(IE11显示30,Chrome显示20)。可能相关:Limiting the displayed height of a select drop-down

这是完全依赖于浏览器的行为,无关吗?

1 个答案:

答案 0 :(得分:0)

非常确定无法使用标准的HTML <select>项,这是GWT呈现ValueListBox的方式,但您可以尝试使用Bootstrap选择:http://gwtbootstrap3.github.io/gwtbootstrap3-demo/#select

(向下滚动到滚动前的可见项目

Select widget from GwtBootstrap3 wrapper for Bootstrap