nslayoutconstraint - Cocoa - constraints with subviews -
i have 2 nsbutton's (button1
, button2
) added subviews nsview (buttonview1
,buttonview2
). buttonview1
, buttonview2
added larger nsview (menubarview
).
so setup looks like:
i've tried by:
adding constraints between button1
, it's buttonview1
. problem arise when try add buttonview1
& buttonview2
menubarview
.
how 1 code constraints accomplish this, visual format?
Comments
Post a Comment