make scrollbars much smaller
@@ -290,14 +290,14 @@ impl ScrollViewerBuilder {
.build(ctx);
let v_scroll_bar = self.v_scroll_bar.unwrap_or_else(|| {
- ScrollBarBuilder::new(WidgetBuilder::new().with_width(22.0))
+ ScrollBarBuilder::new(WidgetBuilder::new().with_width(16.0))
.with_orientation(Orientation::Vertical)
.build(ctx)
});
ctx[v_scroll_bar].set_row(0).set_column(1);
let h_scroll_bar = self.h_scroll_bar.unwrap_or_else(|| {
- ScrollBarBuilder::new(WidgetBuilder::new().with_height(22.0))
+ ScrollBarBuilder::new(WidgetBuilder::new().with_height(16.0))
.with_orientation(Orientation::Horizontal)
.build(ctx)
});
