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

Dmitriy Shmilo

New Members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Dmitriy Shmilo reacted to lalcimo in Affinity Designer, Export Persona, "Create slice" from layer is 1px bigger than expected.   
    Affinity is quite finicky when it comes to creating slices. Every value of your object's transform (X, Y, W, H) should be whole number.
    If there's a decimal number, Affinity will round it up and add an extra pixel.
    Ex. You have a square with these transform values. (X = 0, Y = 10.6, W = 50, H = 50). If you generated a slice from this object, there's a high chance that the slice generated would have these values (X = 0, Y = 11, W = 50, H = 51).
    Aside from objects, your artboards aren't exception from this behavior.
    Check the transform values of your artboards. If you're working on an artboard with decimal in its transform values, all the objects inside will generate slices with rounded up values. Regardless if the object doesn't have decimal transform values in itself.
  2. Like
    Dmitriy Shmilo reacted to walt.farrell in Affinity Designer, Export Persona, "Create slice" from layer is 1px bigger than expected.   
    Welcome to the Serif Affinity forums.
    Can you share that .afdesign document with us?
    If you open your Designer Settings, User Interface, how many decimal places do you have specified for Pixel measurement displays? I recommend at least 3. If you're set on 0 or 1, please set to 3 and check the positions and sizes again.
  3. Like
    Dmitriy Shmilo got a reaction from walt.farrell in Affinity Designer, Export Persona, "Create slice" from layer is 1px bigger than expected.   
    Thank you, Walt.
    I had 1 decimal place set by default. After I changed it to 3, the issue kept happening. However, after I restarted the application, I was no longer able to reproduce the issue.
×
×
  • 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.