Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a hot-key to enable Storyboard panning with mouse in Xcode 4.3?

I'm looking for a hot-key, e.g. spacebar + Click 'n drag, that will enable me to use the mouse to pan Xcode Storyboard.

Obviously I can use the mouse-wheel to pan the storyboard, but it's far more tedious that clicking and dragging it to the exact location I want.

Is there a way to pan the Xcode storyboard with a click-and-drag motion?

like image 570
Jonathan Beebe Avatar asked Jul 13 '12 15:07

Jonathan Beebe


People also ask

How do I pan in Xcode?

I got one of those fancy mouse thingies without a scroll wheel but I can pan with it. Hold down shift and move your index finger over that mouse horizontally, vertically, etc...

How do I move elements in Xcode?

You can use the object navigator / tree-view on the left to select your items, then you can move objects around using the x/y/w/h properties on the size inspector. Another solution could be to set the items you don't want to drag around to hidden while you're dragging other elements around.


2 Answers

I know this is an old post, but I have been wondering the same thing recently and thought that I would post what I found for anyone else out there that is searching.

Mac OS X Horizontal Scroll Trick. It's not exactly the same thing as panning, but it does let you scroll horizontally. Basically, hold down the shift key and use the scroll wheel to scroll horizontally. Let go to scroll vertically.

like image 126
Kirk Spencer Avatar answered Sep 20 '22 08:09

Kirk Spencer


Not exactly the same as panning but it works for me

  • Horizontal scroll | Shift + Mouse Scroll
  • Vertical scroll | Mouse Scroll
  • Zooming in and out | Option + Scroll
like image 35
Mavrik Teo Avatar answered Sep 20 '22 08:09

Mavrik Teo