Fixed: some window subclasses should not be constrained to the usable screen content

Previously, all window subclasses were constrained to the usable screen content. Unfortunately that included the menu bar window, which ended up appearing below itself!

This commit introduces an ivar that indicates whether instances of the window subclass should be constrained or not.
This commit is contained in:
Aparajita Fishman
2013-03-12 15:00:26 -04:00
parent bbfaac5468
commit 69bda9427a
6 changed files with 27 additions and 0 deletions
+2
View File
@@ -67,6 +67,8 @@
if (self)
{
_constrainsToUsableScreen = NO;
[self setLevel:CPMainMenuWindowLevel];
[self setAutoresizingMask:CPWindowWidthSizable];