Re: 'small' attribute of NSPopUpButton
Re: 'small' attribute of NSPopUpButton
- Subject: Re: 'small' attribute of NSPopUpButton
- From: Vince DeMarco <email@hidden>
- Date: Fri, 25 Jan 2002 16:15:14 -0800
On Friday, January 25, 2002, at 02:43 PM, Ondra Cada wrote:
Robert,
Robert Miller (RM) wrote at Fri, 25 Jan 2002 17:34:22 -0500:
RM> Here's a basic question for someone more in the know than I. How do
RM> I programatically set the 'small' attribute of an NSPopUpButton ?, I
see
RM> this in the sizing inspector for this object in IB but cannot find how
RM> to do it at run time ? Any ideas ?
Yep -- set directly its size. So far as I understand, there's no "small"
attribute in AppKit at all; it is just an InterfaceBuilder's internal tag
which is used to control how the widget is resized when NIB is edited.
---
No you are wrong.
look at NSControlSize in NSCell.h
vince