On 03/04/2008, at 2:47 AM, Cathy Shive wrote:
The names of the margin-related masks are confusing for sure, I
always have to look it up because when I think about the names of
the masks and then think about the "springs and struts" UI in
Interface Builder, I always reverse them, too.
I h
The names of the margin-related masks are confusing for sure, I
always have to look it up because when I think about the names of the
masks and then think about the "springs and struts" UI in Interface
Builder, I always reverse them, too.
On Apr 2, 2008, at 6:38 PM, Nate Weaver wrote:
Whoo
Whoops, this jogged my memory. For some reason in my last response I
thought -setAutoresizingMask specified the pinned margin and not the
expanding margin. I'm not sure why...
On Apr 2, 2008, at 11:13 AM, Cathy Shive wrote:
Hi Hendrik,
It seems that you're using the correct mask. The docum
Hi Hendrik,
It seems that you're using the correct mask. The documentation
states that NSViewMinYMargin would make the bottom margin flexible,
which is what you want.
I notice that you originally set the frame for the subview at (0,
0). Is this because the subview is originally the same
You probably want to use NSViewMaxYMargin instead of NSViewMinYMargin
(NSViewMinYMargin is the bottom margin of the content view and not the
top).
On Apr 2, 2008, at 9:35 AM, Hendrik Holtmann wrote:
Hi,
I am creating a borderless window in source like this:
containerWindow = [[[ContainerWi
Hi,
I am creating a borderless window in source like this:
containerWindow = [[[ContainerWindow alloc]
initWithContentRect:NSMakeRect
(rect.origin.x,rect.origin.y-22-34,387,34)
styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered
defer:NO] retain];
Then I add a custom view (c