livecode resolutoin + widgets issue / question.

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cylent
Posts: 15
Joined: Tue Sep 25, 2012 9:04 am

livecode resolutoin + widgets issue / question.

Post by cylent » Thu Aug 22, 2013 11:38 am

I wanted to try livecode and really use it a version or so back but had one major problem.

The whole resolution + palette + widgets + fonts don't adapt to the 100's of android devices on the market.
if i design my application i would very much like it to re-size according to the screen size its run on. i expect livecode to have some sort of code to do the "automatic screen resolution resizing" and not having the developer do the worrying ...

there's also the whole widget + fonts that just weren't working before.

Currently with the new version -- Has the problem been resolved?

I am really eager to start to learn livecode and hopefully become a developer using it.

i am not sure if NativeGeometry is the solution to my resolution problem?
what about the widgets?

ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Re: livecode resolutoin + widgets issue / question.

Post by ChrisMukrow » Thu Aug 22, 2013 2:40 pm

The problem hasn't been fix yet. From another topic:
In the latest newsletter (153) http://livecode.com/community/newsletters/ there is a report about the teams progress. It says that first tests of 'Resolution independence' will be done at the end of this month so we will not have to wait long.
Sorry cylent, but for automatic resolution you still need to wait some time. It is still possible manually (code), which can be an advantage (different designs for tablet/mobile).

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: livecode resolutoin + widgets issue / question.

Post by Opaquer » Wed Aug 28, 2013 6:05 am

In my app I've got this code for doing it manually:

Code: Select all

   put the width of this stack into tWidth
   switch
      case tWidth <= 360
         put 12 into tFontSize
         break
      case tWidth <= 720
         put 24 into tFontSize
         break
      case tWidth <= 1480 -- need to somehow test this out?
         put 36 into tFontSize
         break
      default
         put 16 into tFontSize
   end switch
Then I just use tFontSize as the font size for various things. It's not ideal obviously, but it works :P. I am looking forward to having it scale normally in the latest update!

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: livecode resolutoin + widgets issue / question.

Post by Simon » Wed Aug 28, 2013 6:19 am

I've been avoiding this subject hoping I wouldn't have to show examples of how, again.
http://forums.runrev.com/phpBB2/viewtop ... =8&t=14859
Deal with font issues on your own. :mrgreen:

If I can get that far, RunRev can make it a hundred times better. At least you can get started.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply