zmalltalker / sketch-android-assets

Generate Android assets in Sketch
GNU General Public License v3.0
356 stars 55 forks source link

Export adds a large amount of margin at the borders #12

Closed Tetrikus closed 10 years ago

Tetrikus commented 10 years ago

When I use the Plugin in the current state, it is generating images with a huge amount of margin at all sides which makes the files useless. Is this a known issue?

The artboards in the test file look like this: sketch_page

The results look like this: result

zmalltalker commented 10 years ago

I really haven't gotten around to using Sketch 3 yet, but I think what you're experiencing is due to Sketch changing how slices work in version 3. A colleague had the same problem, and had to create slices manually in sketch - not the ones which are created automatically from the layers (or however that works…)

matt-io commented 10 years ago

I had the same issue and ended up using Slices over making groups and layers exportable.

[image: flypay] Matthew O'Connor Designer 07770959497 matthew@flypay.co.uk

flypay.co.uk http://www.flypay.co.uk | Twitterhttp://twitter.com/flypayUK | facebook http://facebook.com/flypayUK

On Tue, May 13, 2014 at 2:32 PM, Marius Mathiesen notifications@github.comwrote:

I really haven't gotten around to using Sketch 3 yet, but I think what you're experiencing is due to Sketch changing how slices work in version 3. A colleague had the same problem, and had to create slices manually in sketch - not the ones which are created automatically from the layers (or however that works…)

— Reply to this email directly or view it on GitHubhttps://github.com/zmalltalker/sketch-android-assets/issues/12#issuecomment-42954569 .

zmalltalker commented 10 years ago

I guess this means slices are the way of the future…