benruehl / adonis-ui

Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals
https://benruehl.github.io/adonis-ui/
MIT License
1.69k stars 143 forks source link

ScrollViewerExtensions not respected for ListViews #176

Open gplumb opened 2 years ago

gplumb commented 2 years ago

When using the AdonisUI.Extensions on a ListView, the scrollbars are always collapsed (and expand on hover), regardless of what are values actually set.

For example:

<ListView Name="lvUsers" SelectionChanged="lvUsers_SelectionChanged"
                      adonisExtensions:ScrollViewerExtension.HideScrollBarsUntilMouseOver="False"
                      adonisExtensions:ScrollViewerExtension.HorizontalScrollBarExpansionMode="AlwaysExpand"
                      adonisExtensions:ScrollViewerExtension.VerticalScrollBarExpansionMode="AlwaysExpand"
                      >
   <ListView.View>
      <GridView>
         ...
      </GridView>
   </ListView.View>
</ListView>

Expected behavior: The listview presents a "normal" scrollbar that's themed without any additional AdonisUI collapse behaviour

Actual: Example