custom view, vertical alignment in nsscrollview
custom view, vertical alignment in nsscrollview
- Subject: custom view, vertical alignment in nsscrollview
- From: Alexey Zakhlestin <email@hidden>
- Date: Wed, 14 Dec 2005 13:45:06 +0300
I am trying to do the following thing in InterfaceBuilder:
I create NSWindow, put Custom View inside and tell it to use my class
(descendent of NSView).
Then I put that custom view NSScrollView and combine that NSScrollView
with NSBox into NSSPlitView
So, NSSplitView takes all window.
I set all objects to stretch in all directions
the problem is, that my Custom View is attached to the bottom of
NSScrollView, while I want it to be attached to the top. I just can't
imagine where this can be tweaked :-(
In InterfaceBuilder Custom View takes all the place of NSScrollView
and has fixed top,left,right-attachments, and dynamic width,height and
bottom-attachment
--
Alexey Zakhlestin
Milk Farm Software, ltd. CEO
http://www.milkfarmsoft.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden