Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Has the Edit Box text spacing been fixed?

Author
Message
Seed
11
Years of Service
User Offline
Joined: 23rd Feb 2013
Location:
Posted: 30th Apr 2013 19:58
I've been looking around and found this:
http://code.google.com/p/agk/issues/detail?id=341

But that was back in June 2012.

Is there a solution for this?.

Thanks.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 30th Apr 2013 21:18
i have no problem with text spacing. 108b11
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 1st May 2013 03:50
Edit box text has received attention in 108 so this should no longer be a problem
Alfred
17
Years of Service
User Offline
Joined: 22nd Jun 2006
Location: Jalisco, Mexico
Posted: 19th Jul 2013 20:47
I see that this issue seems to have been fixed, yet there is still no command for setting the text spacing in edit boxes. If I make the text size larger, the gaps also get larger..

Should I vouch for an enhancement on the issue web site? I guess the solution right now would be to trim down on the font image so that there is no need for setting the text width.

Hallowed are the ori.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Jul 2013 20:58
If you are using a custom font and it has a subimages file (which it must if it is not fixed width), then you can actually make your space smaller by editing the subimages text file.

The first line in the file starts with '32:', which is the ascii code for a space. To make your space character narrower, make the fourth value smaller.

The line layout is this:
<ascii code>:<starting x>:<starting y>:<width>:<height>

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Alfred
17
Years of Service
User Offline
Joined: 22nd Jun 2006
Location: Jalisco, Mexico
Posted: 19th Jul 2013 23:17
Good idea. I'll run the subimages text file through a little parser to modify the mappings. It'll probably take some tweaking to get all the characters looking right, but it only needs to be done once after all.

Cheers.

Hallowed are the ori.
Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 20th Jul 2013 00:58
I think a command for setting the text spacing in edit boxes should be included. You can do this with regular texts, so why not edit boxes?

Login to post a reply

Server time is: 2024-05-08 15:28:08
Your offset time is: 2024-05-08 15:28:08