Skip to content

Commit

Permalink
Add note to scrollbar_size.md about zero width scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 10, 2023
1 parent 1f5d0ca commit 724f037
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/styles/scrollbar_size.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ In this example we modify the size of the widget's scrollbar to be _much_ larger

In the next example we show three containers with differently sized scrollbars.

!!! tip

If you want to hide the scrollbar but still allow the container to scroll
using the mousewheel or keyboard, you can set the scrollbar size to `0`.

=== "Output"

```{.textual path="docs/examples/styles/scrollbar_size2.py"}
Expand Down

0 comments on commit 724f037

Please sign in to comment.