Skip to content

Commit a6adf7f

Browse files
committed
Theme: keep scrollbars always visible (no auto-hide)
1 parent c6b9906 commit a6adf7f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/BasisPM.App/Styles/BasisTheme.axaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,15 @@
391391
<Setter Property="Background" Value="Transparent"/>
392392
</Style>
393393

394+
<!-- Scrollbars: keep them visible and grabbable. The Fluent default auto-hides them (a thin line
395+
that only fades/expands in on hover), so a user often clicks before the bar has appeared and
396+
misses it. AllowAutoHide=False keeps each ScrollViewer's bars expanded at all times. -->
397+
<Style Selector="ScrollViewer">
398+
<Setter Property="AllowAutoHide" Value="False"/>
399+
</Style>
394400
<Style Selector="ScrollBar">
395401
<Setter Property="Background" Value="Transparent"/>
402+
<Setter Property="AllowAutoHide" Value="False"/>
396403
</Style>
397404

398405
<Style Selector="TextBlock.statusError">

0 commit comments

Comments
 (0)