Author Topic: Customize Coordinate Selection button to 0.5 not 0.1?  (Read 650 times)

September 09, 2018, 07:57:01 AM
Read 650 times

Ivankov

  • Sr. Newbie

  • Offline
  • **

  • 4
Is it possible to change the amount that the up and down buttons increase and decrease the xy Coordinate selection? Currently it changes by 0.1 each press of the up or down. I would like it to change by .5.
  • 0.91
  • Windows 10

September 09, 2018, 03:53:16 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Unfortunately, I don't think that can be changed.  I've never heard of it anyway. 

I know that most of Inkscape's spinboxes (those tiny up/down arrows, together with the box where the number shows) are programmed for 0.1 increments.  But I've noticed that some are programmed to move in 1.0 increments (I think the Trace Bitmap dialog does).  I would guess by that, that they can be changhed individually....or at least maybe by the various dialogs.  But probably you would have to access the source code.  Plus know what you're looking for.

Occassionally I've seen people ask developers how hard it would be to change things like that (for example, I recall one time when someone wanted to add their own unit which Inkscape doesn't provide natively), and sometimes they can give relatively easy instructions to follow.  I'm not sure if they could break it down for someone who doesn't already know how to manipulate the source code.  And I guess if you did that, you'd have to be capable of compiling your own custom version.

If you can do all that, I would refer you to developers.  Here's info on how to contact developers:  https://forum.inkscapecommunity.com/index.php?topic=628.0

Edit
Although it might not be the best idea to change the program, in case you decided to use different units someday, or use Inkscape differently than usual.

But there may be some other things you can do, depending exactly which spinboxes and what you're moving.  For example, you could configure a custom grid with 0.5 increments.  Or, the arrow keys move things by 2 px by default.  But those can be changed to whatever you like.  So if what you're doing can be done with arrow keys or snapping, those might be options for you.

  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

September 09, 2018, 11:40:15 PM
Reply #2

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
Hi.

Never used the arrow keys to increase the selection box myself.
But know that in the preferences there is a steps setting for arrow keys (Shift+Ctrl+P/behavior/steps).
There 2 px is the default so my guess is either the setting is unrelated or interfered by some transformation matrix in your document.
In the document's settings there is a scale factor added in when you change the default document dispay units from mm to px.
On a second thought, I remember 0.91 may had px as a base unit? Thus changing it to mm may scale things up by 3,77953, resulting the 2 px scroll to be 0,529 px. Hmm that's not even close to 0,1 px. Strange.