PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Sep 20, 2017 11:25 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Apr 09, 2014 8:40 am 
Offline
Forum Newbie

Joined: Wed Apr 09, 2014 8:20 am
Posts: 1
Hi there,

I am currently updating the skin of an app. With this new design we have created an 8px spacing as the 'golden rule' between UI elements, buttons, etc.

The developers I am working with said that the transparent pixel spacing is a "no-no". They are in Shanghai so I'm waiting a full day to hear back on why it is a "no-no".

The idea of the UI design is to have the illusion of floating buttons, but in reality if the elements are exported with a transparent border of 4px (creating in reality a rigid structure) I don't see why this won't work. I'm not a developer so I understand I may be blind to rules or code that interferes with this.

Is this something that iOS has a rule about? I've seen in several design mock-ups online with people doing this so I am hoping for some clarity from some of you as to why this won't work or if it could. I've attached two files to explain what the dev's are saying won't work and what the designers are proposing to create the illusion.

We've just done 5 days of tedious design execution so trying to figure out if we have to start over :banghead:

Thanks!


Attachments:
File comment: The blue square indicated a 4px border to be exported as part of the UI element to create the illusion of a floating element.
-6.jpg
-6.jpg [ 266 KiB | Viewed 15839 times ]
File comment: The developers said the highlighted areas are not allowed
-1.jpg
-1.jpg [ 80.06 KiB | Viewed 15839 times ]
Top
 Profile  
 
PostPosted: Wed Apr 09, 2014 11:56 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13427
Location: New York, NY, US
Is this a native app or web app?

_________________
(#10850)


Top
 Profile  
 
PostPosted: Fri Apr 11, 2014 9:42 am 
Offline
Briney Mod
User avatar

Joined: Mon Jan 19, 2004 7:11 pm
Posts: 6444
Location: 53.01N x 112.48W
They likely said it was a "no-no" because the spacing can (and should) be done in code. What happens if after everything is done, the pixel spacing needs to be 4px, or 9px? If the spacing is set into the images, you'll have to re-render them all, whereas the developers can just tweak it once in code.

_________________
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.


Top
 Profile  
 
PostPosted: Wed Jan 07, 2015 2:06 am 
Offline
Forum Newbie

Joined: Tue Jan 06, 2015 2:53 am
Posts: 2
No transparent gaps is not allowed because it defects on pixel or it can be add on coding if it it correct..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group