osx - Flexible width button not taking all available space -
i'm trying make modifications layout of trackmix app shown in creating first mac app.
i wanted "mute" button take 160px or less. equivalent css rule width: 100%; max-width: 160px; margin: 0 auto;
. i'm not sure how achieve in interface builder or in code. here's have far
while 71 pixels indeed less 160px. there way make button take available space?
this working me:
i have added center constraint + leading , tailing edge constraint parent container. i've set leading/tailing constraint priority 250 because need breakable.
Comments
Post a Comment