Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ScrollBar-Buttons of AnimatedSingleRowTabControl possibly too small #3257

Closed
davikor opened this issue May 30, 2018 · 0 comments
Closed

ScrollBar-Buttons of AnimatedSingleRowTabControl possibly too small #3257

davikor opened this issue May 30, 2018 · 0 comments
Labels
Milestone

Comments

@davikor
Copy link

davikor commented May 30, 2018

Problem description
The style for the TabControl from the Controls.AnimatedSingleRowTabControl.xaml possibly has a flaw concerning the RepeatButtons used to initiate a scroll action. As highlighted in the screenshot attached, the width of the ScrollBar and thus the RepeatButtons included is very limited therefore its hard for users to initiate a scroll action in my opinion.

This behavior also occurs with horizontally oriented TabControls but it is more obvious with vertically oriented TabControls (e.g. TabStripPlacement=Left)

To Reproduce
Add the following XAML into a window (and make sure it is small enough so that the ScrollBar gets enabled:

<TabControl TabStripPlacement="Left"> <TabControl.Items> <TabItem Header="A8" /> <TabItem Header="A7" /> <TabItem Header="A6" /> <TabItem Header="A5" /> <TabItem Header="A4" /> <TabItem Header="A3" /> <TabItem Header="A2" /> <TabItem Header="A1" /> </TabControl.Items> </TabControl>

and add the following line to your App.xaml or resources:

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedSingleRowTabControl.xaml" />

Expected behavior
In my opinion, the scroll action should be initiated, when a user clicks anywhere in the area I marked yellow and not just when hitting exactly the small triangle icon.

Screenshots
grafik

Environment

  • MahApps.Metro version v1.6.4
  • OS: Win10 1803
  • Visual Studio 2017
  • .NET Framework 4.7
@punker76 punker76 added the Bug label Dec 7, 2018
@punker76 punker76 added this to the 2.0.0 milestone Dec 7, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Development

No branches or pull requests

2 participants