문제

I've just started using XCode. Created a calculator with over 20 buttons. I was surprised to find that when multiple buttons are selected in the Xcode view editor, resizing one does not resize all. Is it possible to resize multiple selections? Going back to my days with MacDraw/ClarisDraw using a handle on one of multiply selected objects sized all objects proportionally.

Further is there a "Distribute evenly" horizontally or vertically to arrange multiple buttons evenly spaced? This was also a MacDraw/ClarisDraw feature.

도움이 되었습니까?

해결책

You simply use the Size inspector (View->Utilites->Show Size Inspector or Cmd+Option+5) and you can adjust the width and height values for the items numerically.

enter image description here

If it says "Multiple Values" you can simply overwrite that.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top