Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drag the canvas in interface builder

Is there any way to drag the canvas in interface builder, like the hand tool in Adobe Reader?

like image 575
Allen Avatar asked Oct 06 '12 20:10

Allen


3 Answers

I think two-finger scrolling on a trackpad is the best of the suggestions here. If you're not using a trackpad, 'Zoom to Fit' may work for you. In addition to zooming, it also centres the storyboard in the window, which, nine times out of ten, is what I really want to do when I'm wishing I had a hand tool.

There's no default shortcut for it, so short of defining your own, just right- or control-click on the canvas and select 'Zoom to Fit' from the contextual menu. Alternatively, click a scene or view in the document outline to centre on that view. If the view can't fit within the visible workspace, it will automatically be scaled down to fit.

like image 55
Kal Avatar answered Nov 10 '22 19:11

Kal


There is no hand tool like in Adobe Reader. You can use two-finger scrolling if you have a trackpad. You can use your mouse wheel to scroll vertically if you have a mouse wheel. Otherwise, you just have to use the scroll bars.

like image 10
rob mayoff Avatar answered Nov 10 '22 19:11

rob mayoff


You can scroll using keyboard:

⌘ → Scroll right

⌘ ← Scroll left

⌘ ↓ Scroll down

⌘ ↑ Scroll up

it is very painful, but what can I say, Nice Job Apple! :(

like image 1
Amr Lotfy Avatar answered Nov 10 '22 19:11

Amr Lotfy