Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

So, I have my layers and when I go to File > Add Slices For Selection to slice the images and then export.

They are coming out with the wrong size, if you take the star, it has a width of 40px on the sheet but when I export it the total width of the image is 60px or so.

Is there a away to make the images export and stay the size I set on the canvas?

enter image description here

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I'm not sure how your slices are set up, but have you tried Trim transparent pixels in the Export panel? If your slice has padding around the actual element you want to export, this should automatically remove it for you.

SketchApp Export panel

share|improve this answer
    
That does it, it took some time to get use to working with Sketch. Thank you! –  Chaos67731 Dec 4 '13 at 17:02
    
Hey, don't forget to click the tick to mark this answer as correct if it helped you :) that way people who suffer similar problems in the future will know that this fix works :) –  Jenna Dec 4 '13 at 17:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.