Skip to content

FlatSlider height not working #3238

@hudec117

Description

@hudec117

What steps will reproduce this issue?

Setting the Height property on a Slider with the FlatSlider style changes the height of the control but not of the slider itself.

In the following example, I set the Height to 30. As you can see the slider keeps the same height, but the designer shows that the control has grown to 30 pixels in height.

1.6.2 example

Expected outcome

I expect the slider to fill the height of the control that it is in.

This wasn't a problem in v1.5.0. Here is an example of the same exact setup as above but using the v.1.5.0 package instead.

1.5.0 example

As you can see, the slider fills the height of the control.

Repo

https://github.com/hudec117/MahApps.Metro-Flat-Slider-Issue

Environment

  • MahApps.Metro v1.6.2
  • Windows OS 10
  • Visual Studio 2017
  • .NET Framework 4.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions