FreeOrion

Forums for the FreeOrion project
It is currently Fri May 24, 2013 8:50 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Changing layout of species attributes in species tooltips
PostPosted: Sat Aug 25, 2012 7:59 pm 
Offline
Space Floater

Joined: Thu Aug 09, 2012 8:15 am
Posts: 38
Hello. I want to change a small thing in how species description layout is presented. I think it is done not in best way currently (I mean it is unaligned since the game uses not a fixed sized font, see 'before.jpeg' screenshot). Here's how I suggest to change the layout: see 'after-1.jpeg' and 'after-3.png'. The last one uses a Unicode dash to be same width as plus. Unfortunately I couldn't find a Unicode space character with the same width as plus sign so the text is actually aligned with the help of a tab character. What do you think of the change? :)


Attachments:
after-3.jpeg
after-3.jpeg [ 133.6 KiB | Viewed 83 times ]
after-1.jpeg
after-1.jpeg [ 131.95 KiB | Viewed 83 times ]
before.jpeg
before.jpeg [ 131.88 KiB | Viewed 83 times ]
Top
 Profile  
 
 Post subject: Re: Changing layout of species attributes in species tooltip
PostPosted: Sat Aug 25, 2012 8:00 pm 
Offline
Space Floater

Joined: Thu Aug 09, 2012 8:15 am
Posts: 38
This is the patch for those who want to try.


Attachments:
fo-species-desc-layout-update.patch [3.42 KiB]
Downloaded 5 times
Top
 Profile  
 
 Post subject: Re: Changing layout of species attributes in species tooltip
PostPosted: Sat Aug 25, 2012 8:27 pm 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Nice. :) That's how i wanted it to look.

Geoff are these characters going to cause any issues? I can't remember exactly the issue, but some characters or formatting in the past worked fine for me but not on other systems.

If not i'll add the patch.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Changing layout of species attributes in species tooltip
PostPosted: Sat Aug 25, 2012 8:46 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
eleazar wrote:
are these characters going to cause any issues?
No idea...


Top
 Profile  
 
 Post subject: Re: Changing layout of species attributes in species tooltip
PostPosted: Sun Aug 26, 2012 5:14 am 
Offline
Space Floater

Joined: Thu Aug 09, 2012 8:15 am
Posts: 38
eleazar wrote:
Nice. :) That's how i wanted it to look.

Geoff are these characters going to cause any issues? I can't remember exactly the issue, but some characters or formatting in the past worked fine for me but not on other systems.

If not i'll add the patch.
There were rendering problems for me (see the screenshot 'after-2.jpeg'). But after the patch viewtopic.php?p=54049#p54049 was committed they are gone.
I also suspect that it will be harder after the change to modify the stringtable file with simpler tools like notepad (especially in Windows XP). This needs testing.


Attachments:
after-2.jpeg
after-2.jpeg [ 132.68 KiB | Viewed 70 times ]
Top
 Profile  
 
 Post subject: Re: Changing layout of species attributes in species tooltip
PostPosted: Sun Aug 26, 2012 5:47 am 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Geoff the Medio wrote:
eleazar wrote:
are these characters going to cause any issues?
No idea...

I guess we'll find out. It works for me.

revision 5172
"formating fix for '+' and '-' in front of species picks, patch by zhur."


zhur wrote:
I also suspect that it will be harder after the change to modify the stringtable file with simpler tools like notepad (especially in Windows XP). This needs testing.

They should be able to at least copy/paste. If not, i'm not concerned with that little loss of accessibility.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Changing layout of species attributes in species tooltip
PostPosted: Sun Aug 26, 2012 7:32 am 
Offline
Space Floater

Joined: Thu Aug 09, 2012 8:15 am
Posts: 38
These are small updates to the change:
* Update Russian localization accordingly (probably needs to be approved by cjckem first).
* Remove dots at the end of some species feats descriptions


Attachments:
fo-species-desc-dots-remove.patch [6.04 KiB]
Downloaded 3 times
fo-species-desc-layout-update-rus.patch [4.65 KiB]
Downloaded 3 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group