Skip to content

Commit c6892bc

Browse files
authored
improv: Disable overlay scrolling so scrollbar is only visible (#67)
Fixes #65. This applies the change on every OS. Alternately it could be Windows/macOS specific.
1 parent 522213c commit c6892bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main_window.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ impl ObjectImpl for MainWindowInner {
162162
..add(&cascade! {
163163
gtk::ScrolledWindow::new::<gtk::Adjustment, gtk::Adjustment>(None, None);
164164
..set_property_hscrollbar_policy(gtk::PolicyType::Never);
165+
..set_overlay_scrolling(false);
165166
..add(&stack);
166167
});
167168
});

0 commit comments

Comments
 (0)