Re: A question about NSPredicateEditor and NSPredicateEditorRowTemplate
Re: A question about NSPredicateEditor and NSPredicateEditorRowTemplate
- Subject: Re: A question about NSPredicateEditor and NSPredicateEditorRowTemplate
- From: Peter Ammon <email@hidden>
- Date: Mon, 14 Jan 2008 10:23:16 -0800
On Jan 14, 2008, at 5:34 AM, Antonio Ferraioli wrote:
Hello,
- I'm using the NSPredicateEditor component in an application
- I configured a few NSPredicateEditorRowTemplate using Interface
Builder
- all my NSPredicateEditorRowTemplate use "Numbers" as right
expression
the text fields representing the "Numbers" of my
NSPredicateEditorRowTemplate
are very tight, I can just see 2 or 3 digits, while my users have
to see wider numbers
is it possible to modify the width of the NSTextField representing
a "Number"
in a NSPredicateEditorRowTemplate ?
Yes, but not yet in Interface Builder. To do so programatically, get
the row template, get the text field as the last member of the row
template's templateViews array, and set its frame to the size you want.
I hope that helps,
-Peter
_______________________________________________
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