Closed pingzing closed 2 months ago
This is great! Thank you for getting that menu fixed up.
I made a minor adjustment to have the height of SettingsWindow
based on the parent window and removed the SizeToContent.Height
restriction.
If that change looks good to you, I will merge it over.
I'd just pass in the desired height
rather than the whole Window
. Separation of concerns and all that. But otherwise, looks fine 👍
EDIT: oh, dang and you might want to remove the explicit Height
in the XAML file too. Otherwise in three months you'll be like "...why am I setting the height twice?"
Good idea on both points! I have added those changes and merged it over.
Thank you for the pull request!
Minor fix, unrelated to my other PR. Allows the Settings window's content to expand vertically, along with the window.
Note: the
Height
set inSettingsWindow.axaml
gets ignored becauseSizeToContent
is set toSizeToContent.Height
. If we want the window to open up to the height of500
as set, we'll need to remove that from the constructor.