Jump to content

Recommended Posts

Posted

Hello, I couldn't find an answer to this so apologies if I missed.

 

I'm not a heavy user of the Designer but I thought it should be straight forward:

Designing an UI for embedded device with multiple screens. I created separate artboards for each screen, all scattered across so I can see them all. I used the Export Persona to create slices for each on-screen element (buttons etc.). I need their coordinates to use in the code. While in Draw Persona, every element has XY coordinates related to the artboard. When I switch to Export, the elements that are not on the "initial" artboard have their XY related to that initial artboard.

 

As example:

- two artboards 320x240 px. side by side

- both have a button in top left corner (and in the Draw Persona both have their XY = 0,0)

- slice of the button on the first arboard has XY = 0,0

- slice of the button on the second has XY = 370,0

 

I'm not sure if I'm doing something wrong or maybe my approach is not right.

 

Attached image shows example slice in a tiny artboard (71x85 but the element's XY=644,476):

 

sliceXY.thumb.png.7026987d79cc8fe52a8190a5151a429b.png

  • Staff
Posted

Hi AdiGital,

 

Welcome to the forums :)

 

This seems to be a bug, in the meantime if you switch back to the Draw Persona you should get the correct coordinates I know its long winded but its a work around for now!

 

Thanks

Callum

Please tag me using @ in your reply so I can be sure to respond ASAP.

Posted

Another option/workaround might be to stack the Artboards - have them on top of each other, then just have the Artboard you are working on visible and unlocked, that way each Artboard has the top left co-ordinate of x:0 y:0

Also name your Artboards that will help with exporting and filenames.

iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted

Thank you both very much! I used the stack method as more suitable. The slices I created don’t match exactly the elements. Works for now.

 

Thanks again! (Also for the naming artboards tip)

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.