Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you nudge in Xcode interface builder?

I have a view that I want to nudge a few pixels, but I can't seem to select it in any way that allows nudging. The easiest way for me to select it is by clicking its name in the object list on the left:

enter image description here

But using the arrow keys just moves the selection in that list up and down, selecting different things.

If I actually click the view in the preview window, it ends up selecting something behind it (there is a full-size background image that get selected no matter what I click on).

If I select the name in the object list and hit Tab (thinking to change focus to the layout pane) it just enters a name-edit mode (?!). Hitting Tab multiple times never seems to give focus to the layout pane:

enter image description here

Seriously, this UI is defective. How do I select an object to nudge it with the arrow keys? Is there a way?

like image 462
devios1 Avatar asked May 03 '13 18:05

devios1


1 Answers

Well I figured it out... one way at least, just by experimenting with every possible modifier combination. :) Turns out if you hold Shift and Right-Click in the layout view (or Ctrl-Shift-Click) you get a menu of all objects under the cursor:

enter image description here

And thankfully picking one of these keeps the layout pane focused so you can actually nudge objects around. Still not particularly intuitive but it works!

like image 168
devios1 Avatar answered Oct 22 '22 19:10

devios1