FROM : Ferhat Ayaz
DATE : Fri Apr 18 23:09:38 2008
thank you! Works great.
On Apr 18, 2008, at 8:17 PM, Ben Lachman wrote:
> You can subclass the text view and returned an origin point from -
> (NSPoint)textContainerOrigin. This will give you origin.x
> +inset.width on the left and just inset.width on the right when used
> in conjunction with setTextContainerInset.
>
> ->Ben
> --
> Ben Lachman
> Acacia Tree Software
>
> http://acaciatreesoftware.com
>
> <email_removed>
> 740.590.0009
>
>
>
> On Apr 18, 2008, at 11:44 AM, Ferhat Ayaz wrote:
>> Hi,
>>
>> how would I go about setting NSTextView up so its insets are dx1
>> from the left and dx2 from the right side?
>> I guess setTextContainerInset: will set for both left and right the
>> same value (dx1 = dx2).
>>
Ferhat
http://www.thinkcocoa.com
DATE : Fri Apr 18 23:09:38 2008
thank you! Works great.
On Apr 18, 2008, at 8:17 PM, Ben Lachman wrote:
> You can subclass the text view and returned an origin point from -
> (NSPoint)textContainerOrigin. This will give you origin.x
> +inset.width on the left and just inset.width on the right when used
> in conjunction with setTextContainerInset.
>
> ->Ben
> --
> Ben Lachman
> Acacia Tree Software
>
> http://acaciatreesoftware.com
>
> <email_removed>
> 740.590.0009
>
>
>
> On Apr 18, 2008, at 11:44 AM, Ferhat Ayaz wrote:
>> Hi,
>>
>> how would I go about setting NSTextView up so its insets are dx1
>> from the left and dx2 from the right side?
>> I guess setTextContainerInset: will set for both left and right the
>> same value (dx1 = dx2).
>>
Ferhat
http://www.thinkcocoa.com
| Related mails | Author | Date |
|---|---|---|
| Ferhat Ayaz | Apr 18, 17:44 | |
| Ben Lachman | Apr 18, 20:17 | |
| Ferhat Ayaz | Apr 18, 23:09 |






Cocoa mail archive

