Re: How to create an empty stack view in code

2015-12-07 Thread Kyle Sluder
On Sun, Dec 6, 2015, at 10:10 AM, Dave wrote: > Hi, > > I’m not sure what to use for the Frame though? It doesn't matter. Auto Layout will change the frame on the first layout pass anyway. --Kyle Sluder > The way this is setup is > that I have a Stack View an empty Stack View in a NIB, as so: >

Re: How to create an empty stack view in code

2015-12-06 Thread Dave
Hi, I’m not sure what to use for the Frame though? The way this is setup is that I have a Stack View an empty Stack View in a NIB, as so: @property (nonatomic,strong)IBOutlet NSStackView* pLabelMainRowStackView; //Vertical There is a then a Row Array which contains Column Arrays and each

Re: How to create an empty stack view in code

2015-12-06 Thread Jonathan Hull
You can just do [[NSStackView alloc] initwithFrame:] > On Dec 6, 2015, at 6:23 AM, Dave wrote: > > Hi All, > > How do I create an Empty Stack View in code? The only method I can find that > that creates a Stack View is stackViewWithViews and you can’t pass nil to > this. Do I have to pass an

How to create an empty stack view in code

2015-12-06 Thread Dave
Hi All, How do I create an Empty Stack View in code? The only method I can find that that creates a Stack View is stackViewWithViews and you can’t pass nil to this. Do I have to pass an empty array or can I just do [[NSStackView alloc] init]; ? All the Best Dave __