Re: NSSplitview and NSTableview

2016-03-20 Thread Roland King
> On 21 Mar 2016, at 12:05, yu...@aim.com wrote: > > Hi, > I spent sometime on this strange issue but still could not figure out. I > hope i could get some help from the group. > > > I have a NSScrollView which contains an NSSplitView; the splitView contains > four panes; each pane is a NST

Re: UIDocument with NSFileWrapper

2016-03-20 Thread Quincey Morris
On Mar 19, 2016, at 18:54 , davel...@mac.com wrote: > > What I’m having trouble understanding is how I store the images (whose > filenames will vary from document to document) with NSFileWrapper. In my top > level directory do I have my main model file as a JSON file along with a file > (JSON o

Re: NSOutlineView woes

2016-03-20 Thread Quincey Morris
On Mar 20, 2016, at 20:20 , Graham Cox wrote: > > This is driving me insane! a. Can you produce a test project that demonstrates the behavior? (Preferably not via drag-and-drop, since that’s so much harder to debug.) b. It’s not the actual problem, but I wonder why you construct the needed pa

NSSplitview and NSTableview

2016-03-20 Thread yuleo
Hi, I spent sometime on this strange issue but still could not figure out. I hope i could get some help from the group. I have a NSScrollView which contains an NSSplitView; the splitView contains four panes; each pane is a NSTableView with just one row of text; After i added the last table vi

Re: UIStackView full of labels doesn't add up

2016-03-20 Thread Roland King
> On 20 Mar 2016, at 22:52, Ken Thomases wrote: > > On Mar 20, 2016, at 7:57 AM, Roland King wrote: >> >> I have a UIStackView, vertical, set to ‘fill equally’ with a number of >> UILabels in it. The stackview in this instance happens to be 300pts high. If >> I put 1 UILabel in it, the UILab

Re: UIStackView full of labels doesn't add up

2016-03-20 Thread Ken Thomases
On Mar 20, 2016, at 7:57 AM, Roland King wrote: > > I have a UIStackView, vertical, set to ‘fill equally’ with a number of > UILabels in it. The stackview in this instance happens to be 300pts high. If > I put 1 UILabel in it, the UILabel is 300pts high. This is what I would > expect. > > If

Re: stop NSSearchField editing selected row in NSOutlineView

2016-03-20 Thread sqwarqDev
Sorry, iCloud UI-wreck stripped the formatting for some reason.  On Mar 20, 2016, at 08:23 PM, sqwarqDev wrote: On Mar 20, 2016, at 05:13 PM, Ken Thomases wrote:rently selected row in the table. How are you making the outline view "select" the first match? By clicking on it before clickin

Re: stop NSSearchField editing selected row in NSOutlineView

2016-03-20 Thread sqwarqDev
On Mar 20, 2016, at 05:13 PM, Ken Thomases wrote:rently selected row in the table. How are you making the outline view "select" the first match? By clicking on it before clicking in the NSTextField/SearchField. Show your code. Well, as I said in my OP, I get the problem with an empty stub. N

UIStackView full of labels doesn't add up

2016-03-20 Thread Roland King
I have a UIStackView, vertical, set to ‘fill equally’ with a number of UILabels in it. The stackview in this instance happens to be 300pts high. If I put 1 UILabel in it, the UILabel is 300pts high. This is what I would expect. If I put two in it, the stackview sets them both 160pts high (total

Re: stop NSSearchField editing selected row in NSOutlineView

2016-03-20 Thread Ken Thomases
On Mar 20, 2016, at 4:48 AM, sqwarqDev wrote: > > I have an OutlineView inside a SplitView in an NSPanel. > > I've been trying to implement an NSSearchField for the OutlineView. The > behaviour I want is simply for the outline view to select the first hit that > matches the search term. I've h

Re: Trying to understand weird NSOutlineVew behaviour

2016-03-20 Thread Graham Cox
> On 17 Mar 2016, at 2:53 PM, Graham Cox wrote: > Has anyone else run into this problem? Can you confirm my suspicion that > -rowAtPoint: is broken during row drags? Assuming I’m right, what’s the best > way to figure out the true row containing a given point? OK, forget all that :) I took a

stop NSSearchField editing selected row in NSOutlineView

2016-03-20 Thread sqwarqDev
I have an OutlineView inside a SplitView in an NSPanel. I've been trying to implement an NSSearchField for the OutlineView. The behaviour I want is simply for the outline view to select the first hit that matches the search term. I've had no problems getting the actual search to work just fine