Re: No Title Bar on NSPanel
Re: No Title Bar on NSPanel
- Subject: Re: No Title Bar on NSPanel
- From: vinai <email@hidden>
- Date: Thu, 4 Jun 2009 19:29:37 -0700 (PDT)
Sorry,
My error - I thought you were looking for a way to just have a window with an empty title bar (I thought the resizing capability you mentioned was in the title bar). I hadn't realized you wanted a window completely without a bar at all ...
vinai
--- On Thu, 6/4/09, John Ku <email@hidden> wrote:
> From: John Ku <email@hidden>
> Subject: Re: No Title Bar on NSPanel
> To: "vinai" <email@hidden>
> Cc: email@hidden
> Date: Thursday, June 4, 2009, 9:19 PM
> Yeah, the bar is still there but
> without a title.
> john
>
> On Thu, Jun 4, 2009 at 7:11 PM,
> vinai <email@hidden>
> wrote:
>
>
>
>
> If you force your panel's "setTitle" method
> to an empty NSString, does that get you a panel with a bar
> without a title ?
>
>
>
> vinai
>
>
>
> --- On Thu, 6/4/09, John Ku <email@hidden>
> wrote:
>
>
>
> > From: John Ku <email@hidden>
>
> > Subject: Re: No Title Bar on NSPanel
>
> > To: "Gregory Weston" <email@hidden>
>
> > Cc: email@hidden
>
> > Date: Thursday, June 4, 2009, 8:57 PM
>
> > Im going for a window
> that attaches
>
> > to a menu bar item. Im going for
>
> > something like Cover Sutra's pop up Window:
>
> > http://sophiestication.s3.amazonaws.com/images/coversutra/screenshot1.png
>
> >
>
> > Cover sutra's isn't resizable by the user, but
> the program
>
> > resizes itself depending on the search result.
>
> >
>
> >
>
> >
>
> > On Thu, Jun 4, 2009 at 6:40 PM, Gregory Weston <email@hidden>
>
> > wrote:
>
> >
>
> > > John Ku wrote:
>
> > >
>
> > > Hello all! Is there a way to subclass NSPanel
>
> > and turn off the title bar
>
> > >> on
>
> > >> it? I've check NSPanel and NSWindow. The
> only
>
> > thing I found was
>
> > >> setShowsToolbarButton in the 'Managing
> Title Bars'
>
> > section which is not
>
> > >> it.
>
> > >> Im doing this for a pop up menu of a menu
> bar
>
> > application. I want to see
>
> > >> if
>
> > >> I can utilize NSPanel and its capabilities
> before
>
> > I go create a custom
>
> > >> NSWindow from scratch. I really just need
> the
>
> > simple looking NSPanel with
>
> > >> drop shadows, resizing, etc..
>
> > >>
>
> > >
>
> > > Resizing?
>
> > >
>
> > > A resizable window without a title bar is pretty
> well
>
> > outside the standard
>
> > > Mac OS X (or traditional Mac OS) user experience.
> What
>
> > are you actually
>
> > > trying to present for which is this your
> solution?
>
> > >
>
> > > G
>
> > > _______________________________________________
>
> > >
>
> > > Cocoa-dev mailing list (email@hidden)
>
> > >
>
> > > Please do not post admin requests or moderator
>
> > comments to the list.
>
> > > Contact the moderators at
>
> > cocoa-dev-admins(at)lists.apple.com
>
> > >
>
> > > Help/Unsubscribe/Update your Subscription:
>
>
> > >
>
> > > This email sent to email@hidden
>
> > >
>
> > _______________________________________________
>
> >
>
> > Cocoa-dev mailing list (email@hidden)
>
> >
>
> > Please do not post admin requests or moderator
> comments to
>
> > the list.
>
> > Contact the moderators at
>
> > cocoa-dev-admins(at)lists.apple.com
>
> >
>
> > Help/Unsubscribe/Update your Subscription:
>
>
> >
>
> > This email sent to email@hidden
>
> >
>
>
>
>
>
>
>
> _______________________________________________
>
>
>
> Cocoa-dev mailing list (email@hidden)
>
>
>
> Please do not post admin requests or moderator comments to
> the list.
>
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
>
>
> Help/Unsubscribe/Update your Subscription:
>
>
>
>
> This email sent to email@hidden
>
>
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden