indragiek / INAppStoreWindow

NSWindow subclass with a highly customizable title bar and traffic lights
BSD 2-Clause "Simplified" License
1.06k stars 162 forks source link

Adjust the window frame when setTitleBarHeight is called. #142

Closed jakepetroules closed 10 years ago

jakepetroules commented 10 years ago

This has the effect that the content view of the window is not resized when changing the height of the title bar, which is consistent with how NSToolbars in the title bar work when changing their visibility and size.

indragiek commented 10 years ago

:+1: Could you fix the indentation?

jakepetroules commented 10 years ago

Sorry, fixed. These files are inconsistent wrt tabs vs spaces anyways... we should decide on which to use and do a single commit to fix them all. Personally I prefer spaces but it's ultimately up to you of course.

indragiek commented 10 years ago

Thanks. I changed everything to tabs and re-indented all the source files in 823b97e10d44732e4df2045bb0ff2f8418ed2ffc. Let me know if I missed anything.