FROM : George Orthwein
DATE : Mon Jun 05 22:34:52 2006
On Jun 5, 2006, at 3:36 PM, Mark Dawson wrote:
> [1] I don't see any options in IB for auto locating items (I'd like
> the "OK" button to remain at the same location, relative to the
> window, when when the window's resized). Is this something that
> can be done in IB, or must code be added?
Set the springs *outside* of the box in the Size pane of the
inspector. See "How do I set up the springs and struts so my views
autosize?":
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
IBTips/Articles/FreqAskedQuests.html
> [2] I've put an NSOutlineView inside a tab that's inside a
> NSSplitView. I've set the NSTabView to auto size, and that IS
> working. However, the NSOutlineViews in the tab panes are NOT
> resizing, eventhough I HAVE set their autosizing pieces. Is that
> expected behavior? Do I need to handle this in code?
You probably set the NSOutlineView to resize rather than the
NSScrollView that encloses it. You may want to use Outline view to
select the objects easier (see the icons in the upper right while
viewing the Instance tab).
> [3] How do I set minimum sizes for views? I'd like the tab view to
> have a min size.
>
> [4] Is there any way to connect (in IB) the SplitView to the
> tabview for resizing? I'd like the split view to not be able to
> move to the left any more once the tab view can't be shrunk any
> more (see [3]).
I believe both those have to be done programmatically.
Hope that helps,
George
DATE : Mon Jun 05 22:34:52 2006
On Jun 5, 2006, at 3:36 PM, Mark Dawson wrote:
> [1] I don't see any options in IB for auto locating items (I'd like
> the "OK" button to remain at the same location, relative to the
> window, when when the window's resized). Is this something that
> can be done in IB, or must code be added?
Set the springs *outside* of the box in the Size pane of the
inspector. See "How do I set up the springs and struts so my views
autosize?":
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
IBTips/Articles/FreqAskedQuests.html
> [2] I've put an NSOutlineView inside a tab that's inside a
> NSSplitView. I've set the NSTabView to auto size, and that IS
> working. However, the NSOutlineViews in the tab panes are NOT
> resizing, eventhough I HAVE set their autosizing pieces. Is that
> expected behavior? Do I need to handle this in code?
You probably set the NSOutlineView to resize rather than the
NSScrollView that encloses it. You may want to use Outline view to
select the objects easier (see the icons in the upper right while
viewing the Instance tab).
> [3] How do I set minimum sizes for views? I'd like the tab view to
> have a min size.
>
> [4] Is there any way to connect (in IB) the SplitView to the
> tabview for resizing? I'd like the split view to not be able to
> move to the left any more once the tab view can't be shrunk any
> more (see [3]).
I believe both those have to be done programmatically.
Hope that helps,
George
| Related mails | Author | Date |
|---|---|---|
| Mark Dawson | Jun 5, 21:36 | |
| George Orthwein | Jun 5, 22:34 |






Cocoa mail archive

