PhilipRieck / WpfAppBar

WPF AppBar helper
134 stars 48 forks source link

Allows the user to resize the window by a child element #6

Closed abluescarab closed 9 years ago

abluescarab commented 9 years ago

I was making a program that required this library and found that the window didn't resize correctly. The content of the window was 25 pixels high, like I wanted, but the window itself was 54 pixels high. To correct this, I added the ability for the user to resize the window by a specified child FrameworkElement.

PhilipRieck commented 9 years ago

That's a great addition, Thanks!

Only one minor issue with the pull request; you reformatted the brace style. I certainly am not a brace style zealot by any means, but it makes the pull request extremely noisy and hard to audit, as well as adding noise to the history. I will merge without this if you wish, or you can resubmit without a reformat.

abluescarab commented 9 years ago

Oh, I'm really sorry. My IDE auto-formats stuff when I save it. I'll re-clone the repo and fix that.

PhilipRieck commented 9 years ago

Thanks! I'll merge the other one immediately.