Custom Panel Zoom

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
tomas30
Posts: 6
Joined: 17 Feb 2021, 10:07

Custom Panel Zoom

Post by tomas30 » 11 Mar 2021, 16:23

Hello dear TVPaint Community,

I'm currently putting together my very own Custom Panel and because my pen doesn't have left & right click, I want to add a hand (zoom navigator) and magnifying glass (zoom in tool). But I only know how to add brushes. How do I add these other two tools? As a gratitude I want to show you https://expeditionikivuq.com/ mobile games for ipod, truly awesome thing.
Last edited by tomas30 on 23 Mar 2021, 16:49, edited 1 time in total.

User avatar
Peter Wassink
Posts: 3783
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Custom Panel Zoom

Post by Peter Wassink » 12 Mar 2021, 15:06

In the custom panel; Right mouse click > Add action
then in the "end" pulldown bar choose:
> Set keystroke> Zoom > In & Out

you can also assign zoom-in and -out to custom keyboard keys using the " Configure Keyboard shortcuts " panel

Note that both options do not make use of your cursor position to center the zoom.
which i think they should... so that would be a feature request.

Or use the + and - buttons in the navigator panel
This panel allows you to quickly center the zoom
Peter Wassink - 2D animator
• PC: Win10/64 Home - Xeon Quadcore E5410@2.33Ghz - 12Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM

User avatar
D.T. Nethery
Posts: 2958
Joined: 27 Sep 2006, 19:19

Re: Custom Panel Zoom

Post by D.T. Nethery » 12 Mar 2021, 15:20

EDIT: oh, I see Peter beat me to it. Anyway, here is what I had to say about the subject:

----

Go to Custom Panels > New Custom Panel to create a new Custom Panel.

Right-click with mouse on the Custom Panel to bring up menu , select Add Action .
Then go to Set Keystroke. Add Keystroke for Zoom In. That is your first button.
Repeat to add Keystroke for Zoom Out. That is your second button.
Repeat to add Keystroke for Hand Tool (pan project window).


(click images to view larger)
Create_Action_Set_Keystroke_ZOOM_IN.jpg
Create_Action_set_Keystroke_HAND_TOOL.jpg
You can create your own Custom Icons for your newly created buttons on your Custom Panel:

Draw your icon anywhere in your project window and then cut it out as a perfect square brush (hold down Shift while dragging out your cutbrush box and you will always get a perfect square). Then RMB on EDIT within your Custom Panel and when it opens, LMB click on TOOL: you have your icon.


You can activate the same actions with Keyboard . > is Zoom In , < is Zoom Out , Alt (Option) key is Hand Tool .
In the Shortcuts list you could change Zoom In and Zoom Out to different keys if you prefer. Hand Tool (pan project window) can not be changed from Alt/Option.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MAC OS 10.14.6 , Macbook Pro Retina 15-inch, Late 2013,
2.3 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.1 - 64bit ,
Wacom Cintiq 21 UX ,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1

Post Reply