Questions tagged [nssplitview]

An NSSplitView object stacks several subviews within one view so that the user can change their relative sizes. By default, the split bars between the views are horizontal, so the views are one on top of the other.

An NSSplitView object stacks several subviews within one view so that the user can change their relative sizes. By default, the split bars between the views are horizontal, so the views are one on top of the other.

Divider indices are zero-based, with the topmost (in horizontal split views) or leftmost (vertical) divider having an index of 0.

The NSSplitViewDelegate protocol defines the optional methods implemented by delegates of NSSplitView objects.

158 questions
0
votes
1 answer

nssplitview dividerColor return is ignored

The dividerColor method return color value seems to be ignored in a subclass of NSSplitView. I have seen various discussions about this, But I have never seen a solution. Does anybody know a solution to this problem? Thanks
jread1297
  • 27
  • 5
0
votes
1 answer

How to make an NSSplitView transparent without having the splitter disappear?

I've extended my window so that it has a button content border. The problem is that my NSSplitView covers the border. My thoughts were that I could make the split view transparent (but the controls on top of it opaque). The following image shows…
Kyle
  • 17,317
  • 32
  • 140
  • 246
0
votes
1 answer

Fixed size Views in NSSplitView

I have a NSSplitView, with three views. I wan't the first view (from the left) to be 100.0 wide and I want the second (from the left) to be 250.0 wide. I also want the width of those two views to remain fixed. So, in applicationDidFinishLoading is…
v0idless
  • 948
  • 2
  • 11
  • 24
0
votes
2 answers

NSView OverLaying NSWindow Bottom Bar

For the life of me I cannot figure this out. I am working Xcode for Mountain Lion. I am having trouble adding NSView to an NSSplit View in my main NSWindow. My split view works as expected although when I add another view to it the view covers the…
xMythicx
  • 827
  • 1
  • 11
  • 27
0
votes
1 answer

How to animate the NSSplitView while resizing?

I would like to animate while resizing NSSplitView programatically. Here is the code for resizing the view in SplitView In awakeFromNib: Iam observing the NSSplitViewWillResizeSubviewsNotification [[NSNotificationCenter defaultCenter]…
Ram
  • 1,872
  • 5
  • 31
  • 54
0
votes
2 answers

NSSplitView resizes the custom NSView contained

I've a vertical NSSplitView, the bottom subview contains a custom view (eg NSView) and a NSTextView. The NSView contains inside it two NSButtons. When I resize the splitView, making it smaller, the NSView containing the buttons is resized, too. I…
dafi
  • 3,492
  • 2
  • 28
  • 51
-1
votes
0 answers

How to restore simple click-and-drag multi-selection in a standard sidebar (NSOutlineView based)?

I want the default behavior (no d&d) without needing a modifier key. But changing the selectionHighlightStyle to NSTableViewSelectionHighlightStyleSourceList or using the view in an NSSplitViewItem sidebar alters this behavior, requiring an…
Yansen13
  • 9
  • 2
-1
votes
1 answer

Does NSSplitView autosavename work?

I can't seem to get NSSplitView autosave to work - can anyone confirm that by adding an autosavename in IB it should work ? I am using auto layout but my splitView is not remembering the position of the divider. EDIT I would expect the position of…
Duncan Groenewald
  • 8,496
  • 6
  • 41
  • 76
1 2 3
10
11