Re: When to relayout view in NSScrollView?
Re: When to relayout view in NSScrollView?
- Subject: Re: When to relayout view in NSScrollView?
- From: Allan Odgaard <email@hidden>
- Date: Sun, 29 Feb 2004 17:50:40 +0100
On 29. Feb 2004, at 16:16, Allan Odgaard wrote:
Currently I implement 'viewDidMoveToSuperview' and do my (initial)
layout there. [...]
An additional question: when I use setFrame: the view expands in the
upper direction, i.e. the scroll view shows the bottom of my view.
I would like it to show the top of my view instead, should I use
scrollPoint: or similar after setFrame:? i.e. can I be sure that the
scroll view has reacted to my frame change?
Btw: if I flip my coordinates, I do get the desired behavior, but
unfortunately I need to draw text with ATSUI, and this cannot handle a
flipped view (it can, by giving a transform matrix with -1 for y, but
metrics are fucked, like ascender, descender etc. and underline is
drawn at the wrong position).
_______________________________________________
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.