On Mon, 28 Sep 2009 19:37:00 -0600, jon <[email protected]> said:
>i've got a textfield defined...
>but i don't want to draw the text that is in the field right up
>against the left boarder of the bounding box of this defined field in
>IB,
>
>I want to start the text like 20 pixels to the right of the left
>boarder  and still have the nicely defined frame of the field in it's
>original place...

What I do is have the textfield replace its cell by a custom cell that
implements drawInteriorWithFrame, such as to inset its frame rect as it
calls super. m.

-- 
matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to