blainefricks / cloaked-avenger

Subversion GUI
1 stars 0 forks source link

NSSplitView Constrain Max/Min Positions of Divider #1

Open blainefricks opened 9 years ago

blainefricks commented 9 years ago

Need to constrain the max and min positions of masterSplitView's divider in MasterViewController.swift

// Set Initial, Min and Max Positions of NSSplitView Divider 0
masterSplitView.setPosition(150, ofDividerAtIndex: 0)
NSSplitViewController().splitView(masterSplitView, constrainMinCoordinate: 50, ofSubviewAt: 0)
NSSplitViewController().splitView(masterSplitView, constrainMaxCoordinate: 200, ofSubviewAt: 0)

The above code doesn't seem to work.

JAStanton commented 9 years ago

Hey I get these now :) lemme take a look