Re: Binding alignment property of NSTextField

2012-10-28 Thread Luc Van Bogaert
I have confirmed that the viewcontroller property is set correctly. While trying to find out why the textfield alignment isn't updated accordingly through the binding, I have found that when I set the textfield's stringValue (eg. to the same string), the alignment does get updated to its correct

Re: Binding alignment property of NSTextField

2012-10-27 Thread Luc Van Bogaert
Yes, I'm using a synthesised setter to change the property value. I am also observing the property (to redraw the controller's view whenever something changes) and this way I can confirm that the property is indeed changed in a KVO compliant manner. One thing I forgot to mention is that I'm usi

Re: Binding alignment property of NSTextField

2012-10-27 Thread Ken Thomases
On Oct 27, 2012, at 4:26 AM, Luc Van Bogaert wrote: > The textfield alignment is bound to an enum property of the viewcontroller. > The strange thing is that, when I create a *new* viewcontroller object from > the nib, the textfield alignment is set correctly based on the current enum > propert