Jump to content
You must now use your email address to sign in [click for more info] ×

Typing % values in transform tab


Recommended Posts

  • Staff

I want to make something half the size it is now.  It would be great to be able to just type in "50%" (or any % value) into the relevant field in the transform tab and it did the math for me...

Managing Director

Help make our apps better by joining our beta program!


MacBook Pro (16-inch, 2021) / Apple M1 Max / 64GB / macOS 12.0.1

iPad Pro 11-inch 3rd Gen / iPadOS 16.2

Link to comment
Share on other sites

  • Staff

Try typing "*=50%", or "*=0.5" in place of the number that used to be in the field. Alternatively, you can add "*50%" or "*0.5" to the end of the existing number. You can also do things like "w*0.5" to make the value be half the value shown in the width field (I've just tried that, and it seems to be broken - give us a tick and we'll fix it!). You can also put things like "1in+3px" and it will convert each unit into document coordinate space and do the maths for you. Hopefully we've got this one in the bag!  :D

Link to comment
Share on other sites

  • Staff

That's great Matt - thanks.  Understand it with a decimal multiplier, but any reason for the requirement to type in "*=" before a %?  Either way, it's sorted!

Managing Director

Help make our apps better by joining our beta program!


MacBook Pro (16-inch, 2021) / Apple M1 Max / 64GB / macOS 12.0.1

iPad Pro 11-inch 3rd Gen / iPadOS 16.2

Link to comment
Share on other sites

  • 1 month later...
  • Staff

I will look at this some time soon.

 

The expression parser is a feature that I had some future plans for. It already does a lot of what people would want, but we made a few choices in what expressions are allowed - mainly due to avoiding ambiguities.  More pressing things first though.

SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.