All the buttons are really called WSThemeWidgets which supports your suspect of custom draw code. So using the zoom button won't make a difference( I tried it as well). I'm trying to change the minimize button to a disclosure triangle that will show/hide the inspector currently being displayed without hiding the panel. I have this functionality via menu/keybindings but wanted to add a widget on the panel as another method.
-Tony On Aug 2, 2010, at 3:36 PM, Kyle Sluder wrote: > On Mon, Aug 2, 2010 at 3:31 PM, Tony Romano <tony...@hotmail.com> wrote: >> Changing the argument to the correct flag gets me the button, however, >> setting the style doesn't have any effect. I moved the code to >> initWithContentRect: post the call to super, still no change. I >> introspected the view with F-Script and it has the bezel style I set but the >> window still draws the standard widget. Any other ideas? > > I believe the buttons are actually private subclasses of NSButton > whose drawing methods completely ignore most of the button flags. > > How are you trying to change the minimize button? Would it be better > to instead change the behavior of the zoom button? Panels aren't > supposed to have (enabled) minimize buttons as per the HIG. > > --Kyle Sluder > -Tony _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com