• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A question about NSPredicateEditor and NSPredicateEditorRowTemplate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >A question about NSPredicateEditor and NSPredicateEditorRowTemplate (From: Antonio Ferraioli <email@hidden>)

  • Prev by Date: Re: Creating a class from files
  • Next by Date: Advice re: "Rough-Cuts" version of "Cocoa Design Patterns"
  • Previous by thread: A question about NSPredicateEditor and NSPredicateEditorRowTemplate
  • Next by thread: IB 3.0 Plug-in Installation Directory
  • Index(es):
    • Date
    • Thread