Using Interface Builder I have a NSView with a multi line NSTextField (a label) and directly below that, a NSComboBox. Since the height of the label is dynamic (e.g. depending on the translation used) the location of the combobox is dynamic too (as the position of the combobox is linked to the label using a constraint).
I am trying to get the correct position of the combobox AFTER auto lay-out. It must be very easy to do so but for some reason I cannot get this to work. I'm able to get the resized size of the label using [NSView fittingSize] but the [NSView frame] is returning the wrong Y position (it just returns the position used in IB). So my question is basically how to get the repositioned frame after auto-layout?
FYI, I'm requesting the frame property in the overwritten [NSView loadView] method.
Thanks for your help!