Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top