thexamlguy / NotificationFlyout

MIT License
0 stars 0 forks source link

Remove max width and height from flyout style #15

Closed thexamlguy closed 3 years ago

thexamlguy commented 3 years ago

The FlyoutPresenter have a fixed MinWidth and MaxHeight set in the default style.

<Setter Property="MaxWidth" Value="{ThemeResource FlyoutThemeMaxWidth}" />
<Setter Property="MaxHeight" Value="{ThemeResource FlyoutThemeMaxHeight}" />
...
<x:Double x:Key="FlyoutThemeMaxHeight">758</x:Double>
<x:Double x:Key="FlyoutThemeMaxWidth">456</x:Double>

We'll probably want to remove those limits to allow the user to set a flyout size of their own choice.

thexamlguy commented 3 years ago

Done in https://github.com/TheXamlGuy/NotificationFlyout/commit/bc42e0cff1bb89c4f074a70ddac40b5b999831d9.