Re: Creating a clickable (web-browser-like) URL control
Re: Creating a clickable (web-browser-like) URL control
- Subject: Re: Creating a clickable (web-browser-like) URL control
- From: John Anderson <email@hidden>
- Date: Tue, 6 Aug 2002 09:02:31 -0700
Not sure about #1... maybe you can move your layout a few pixels to
make it line up? Hacky but it would work...
John
On Monday, August 5, 2002, at 08:03 AM, Sean McBride wrote:
John Anderson (email@hidden) wrote:
The best way would be to create an NSTextView and populate its
contents
dynamically.
(snip)
That should display a clickable link.
It does thanks! But there are some visual problems:
1) The background. After playing around with IB a lot, I managed to
drag
the border from a default NSTextField to my NSTextView. In IB it looks
perfect but when I actually run my pref pane the striped background of
my
NSTextView does not line up with the window's striped background. :(
2) The link is only clickable if the 'selectable' attribute is on,
causing an insertion point cursor to appear on rollover.
I think there's even a way to
make NSTextView display the finger cursor over the link. Don't
remember
off-hand.
This would solve #2. I'll see if I can find an apropriate method...
But problem #1 is the real killer, any ideas?
Thanks again!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.