Page 1 of 1

livecode resolutoin + widgets issue / question.

Posted: Thu Aug 22, 2013 11:38 am
by cylent
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?

Re: livecode resolutoin + widgets issue / question.

Posted: Thu Aug 22, 2013 2:40 pm
by ChrisMukrow
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).

Re: livecode resolutoin + widgets issue / question.

Posted: Wed Aug 28, 2013 6:05 am
by Opaquer
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!

Re: livecode resolutoin + widgets issue / question.

Posted: Wed Aug 28, 2013 6:19 am
by Simon
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