spiegelp / MaterialDesignExtensions

Material Design Extensions is based on Material Design in XAML Toolkit to provide additional controls and features for WPF apps
https://spiegelp.github.io/MaterialDesignExtensions/
MIT License
762 stars 122 forks source link

Stepper vertical alignment stretch doesn't work as expected #47

Closed Awsmolak closed 5 years ago

Awsmolak commented 5 years ago

I have a stepper hosted in a DockPanel with LastChildFill = true. The stepper does, in fact, inherit the available height within the DockPanel. However, when VerticalAlignment is set to stretch the content is not given the remaining space in the grid, the remaining space is filled below the back/continue buttons. (ie. Top and Stretch look the same except that with stretch the height of the stepper is set correctly.)

Is there a way to make the stepper content fill all available vertical space in its parent?

spiegelp commented 5 years ago

@Awsmolak Are you using a horizontal stepper? The latest commit should fix your issue.

Awsmolak commented 5 years ago

That seems to have fixed it!

spiegelp commented 5 years ago

@Awsmolak I published a prerelease with the fix some moments ago.