I want to add an Hscrollbar to a VStack and manual controll the scrolling.
VStack fooVstach = new VStack();
Scrollbar hTaskChartScroll = new Scrollbar();
hTaskChartScroll.setVertical(false);
hTaskChartScroll.setAutoEnable(false);
hTaskChartScroll.addScrolledHandler(new ScrolledHandler() {
public void onScrolled(ScrolledEvent event) {
GWT.log("scroll!!");
}
});
fooVstack.addMember(hTaskChartScroll);
Previous code correctly add the scrollbar, but the thumb is large as much as the width, so it doesn't scroll.
How to control the thumbSize?
[Smartgwt 2.5 + Gwt 2.3 + firefox/chrome]
VStack fooVstach = new VStack();
Scrollbar hTaskChartScroll = new Scrollbar();
hTaskChartScroll.setVertical(false);
hTaskChartScroll.setAutoEnable(false);
hTaskChartScroll.addScrolledHandler(new ScrolledHandler() {
public void onScrolled(ScrolledEvent event) {
GWT.log("scroll!!");
}
});
fooVstack.addMember(hTaskChartScroll);
Previous code correctly add the scrollbar, but the thumb is large as much as the width, so it doesn't scroll.
How to control the thumbSize?
[Smartgwt 2.5 + Gwt 2.3 + firefox/chrome]
Comment