objective c - NSScrollView frame and flipped documentView -


i have problems nsscrollview, not displayed way want. yes know there lot of post around web, need override isflipped, in order make return yes, in nsview subclass.

ok, it's done, now, scrollview scroll top bottom, , not in reverse way, before overriding isflipped.

but, second part, real problem, didn't found answer on web, how hell i'm supposed code, or create view in interface builder, if flipped? if put @ top, displayed bottom… have magic trick handle that?

and last problem, nsscrollview frame. before setting documentview of scroll view, fine, scrollview displayed @ place choose, but, when set document view, looks scrollview frame looks bigger, have resize it…. normal behavior?

thank much.

the answer create nsclipview subclass returns yes override of isflipped:

then in ib, set scroll view's content view (clip view) subclass.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -