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:

enter image description here

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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -