Text field changes location after creating standalone

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
ScottM
Posts: 18
Joined: Sun Nov 07, 2010 10:11 am

Text field changes location after creating standalone

Post by ScottM » Mon Aug 06, 2012 2:41 am

Hi all,

When developing my application all the GUI elements are aligned and text renders smoothly. After creating a standalone application the text fields move up 3 or 4 pixels on the Y axis and text renders with aliasing (not smooth). I have tried locking the text fields but it does not seem to help. Any suggestion on how to resolve this?

Kind Regards,
Scott

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Text field changes location after creating standalone

Post by shaosean » Mon Aug 06, 2012 3:12 am

What platform?

ScottM
Posts: 18
Joined: Sun Nov 07, 2010 10:11 am

Re: Text field changes location after creating standalone

Post by ScottM » Mon Aug 06, 2012 3:41 am

Sorry I forgot, - Windows 7, developing application with LiveCode 5.5.1

ScottM
Posts: 18
Joined: Sun Nov 07, 2010 10:11 am

Re: Text field changes location after creating standalone

Post by ScottM » Wed Aug 08, 2012 1:03 am

I take it this must be a difficult one, over 50 views no one has any answers. I find this unusual, normally the LiveCode forum is very helpful. Thanks anyway.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Text field changes location after creating standalone

Post by mwieder » Wed Aug 08, 2012 1:14 am

Are you looking at the standalone on the same machine you built it on? Are you using some non-standard fonts?

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Text field changes location after creating standalone

Post by shaosean » Wed Aug 08, 2012 4:47 am

Using the built-in geometry manager?

ScottM
Posts: 18
Joined: Sun Nov 07, 2010 10:11 am

Re: Text field changes location after creating standalone

Post by ScottM » Fri Aug 10, 2012 4:51 am

Hi, sorry for the late reply.

I am viewing the application on the PC I have coded it on and checking results on another PC. Both have the same results.

I have used the built-in geometry manager to create the text fields, using the default font and populating the fields with data from arrays.

Does LiveCode include the fonts in the compiled application? Any recommendations on what font I should be using?

Thank you for your help and time, much appreciated.

Scott

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Text field changes location after creating standalone

Post by shaosean » Fri Aug 10, 2012 6:54 am

I think the issue is probably related to the built-in geometry manager and not the fonts.. Fonts are not embedded in the compiled application (licensing issues could be a big factor in this) but you can use the revFontLoad and revFontUnload commands and load them from your application folder..

ScottM
Posts: 18
Joined: Sun Nov 07, 2010 10:11 am

Re: Text field changes location after creating standalone

Post by ScottM » Thu Aug 16, 2012 6:59 am

Thanks Shaosean, will give it a go.

Cheers,
Scott

Post Reply