Overflowed text in the listselect are hiden,I want scroll bar
if any Suggestion plz let me know
Overflowed text in the listselect are hiden,I want scroll bar
if any Suggestion plz let me know
Should happen by default. What theme/Vaadin version are you using?
I tried creating a new Vaadin project, and added 100 items to a ListSelect and the scrollbar’s there.
Hi Joacim,
Thx for ur rply,
Version : <vaadin.version>7.3.9</vaadin.version>
I need a Horizontal Scroll bar.
Try adding this to your theme:
.v-select-select {
overflow: auto;
}
Thanks for ur reply, not working properly
Hey Soundarc,
Which theme and/or Vaadin version are you using? With the latest version, and Valo, I get the following the result (see attachment).
Java
@Override
protected void init(VaadinRequest request) {
final VerticalLayout layout = new VerticalLayout();
layout.setMargin(true);
setContent(layout);
ListSelect ls = new ListSelect();
ls.setWidth("100px");
for (int i = 0; i < 100; i++) {
ls.addItem("Really Long Item #" + i);
}
layout.addComponents(ls);
}
SCSS
@import "../valo/valo.scss";
@mixin testing {
@include valo;
.v-select-select {
overflow: auto;
}
}
Working fine for me, thanks