fix(scrollbar): calculate area margin from inside and outside of border areas

This commit is contained in:
EdJoPaTo
2024-02-24 18:38:52 +01:00
parent 9a0b26f5c9
commit 83dd95b87f
2 changed files with 6 additions and 16 deletions
-1
View File
@@ -119,7 +119,6 @@ fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> std::io::Res
.title("Tree Widget")
.title_bottom(format!("{:?}", app.state)),
)
.experimental_scrollbar_margin(1, 1)
.experimental_scrollbar(Some(
Scrollbar::new(ScrollbarOrientation::VerticalRight)
.begin_symbol(None)