Re: Custom TabViewItem Things
Re: Custom TabViewItem Things
- Subject: Re: Custom TabViewItem Things
- From: Seth Willits <email@hidden>
- Date: Sun, 28 Mar 2004 19:26:09 -0800
On Mar 28, 2004, at 6:18 PM, Scott Thompson wrote:
Another option might be to subclass NSSegmenetedCell to provide the
drawing behavior you are looking for but rely on the segmented control
for much of the functionality.
That's an interesting idea. That could do a lot for me, but I'm not
entire sure.
Here's what I'm after:
- The control would wider than the sum width of the buttons. Like in
GoLive, the control spans the width of the window
- Buttons are added and removed on the fly
- Buttons are always left justfied
- Buttons have the ability to hold an icon and text caption
- Buttons would ideally be able to contain another button. Think
Safari. I'll be using them exactly in the same way, but I want
the "Adobe" appearance.
- If too many buttons are in the control to fit in the view, the
buttons are squished to fit as many as possible. Once it goes over
the absolute max, it would present a menu, exactly like Safari.
I'm quite new to Cocoa although not new to custom controls at all. The
seems quite (logically) easy for the most part (buttons inside buttons
would be the trickiest part I imagine), but I'm not sure how to
implement it in Cocoa.
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software -
http://www.freaksw.com
REALbasic Guru at ResExcellence -
http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central -
http://www.freaksw.com/rbgames
"If you can't beat your computer at chess, try kick boxing."
-- Someone
------------------------------------------------------------------------
---
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.