Multiple resolutions, resize stack a solution
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Multiple resolutions, resize stack a solution
I'm using programmatic creation and placement of objects so that it can be agnostic to the platform and resolution it is on. This method is much more complex and slower in development, but frees you up from the headache of worrying about device resolution. I would not advise using this method unless you are planning on reusing the theme you create.
Re: Multiple resolutions, resize stack a solution
Was there anywhere we could watch this presentation?strongbow wrote:G'day all
Just in case you weren't aware of it, Monte presented his scaling/resolution independent framework called mApp at the LC Developer conference a month or so ago. He has it available on his website at mergext.com
Definitely worth a look. I'm currently using it and hoping to get at least some starting docs done for it one of these days.
cheers
Alan
I downloaded it from mergExt and can't so far figure out how it works...
-
- Posts: 72
- Joined: Sat Apr 06, 2013 8:09 am
- Location: London
Re: Multiple resolutions, resize stack a solution
I've not created an Android App in LiveCode since June 2013 - is there anything new with regards to resizing in Android I should know about before beginning a new project?
I know LiveCode has been updated several times in the last 4 months but didn't see anything new from RunRev about it having new super powers to deal with different screen sizes?
I know LiveCode has been updated several times in the last 4 months but didn't see anything new from RunRev about it having new super powers to deal with different screen sizes?
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Multiple resolutions, resize stack a solution
Hi archer2009BUSknbj,
In liveCode 6.5 there are some capabilities but I haven't tried them yet.
http://newsletters.livecode.com/september/issue157/
Watch out 6.5 is a very early release.
Simon
In liveCode 6.5 there are some capabilities but I haven't tried them yet.
http://newsletters.livecode.com/september/issue157/
Watch out 6.5 is a very early release.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 72
- Joined: Sat Apr 06, 2013 8:09 am
- Location: London
Re: Multiple resolutions, resize stack a solution
Simon wrote:Hi archer2009BUSknbj,
In liveCode 6.5 there are some capabilities but I haven't tried them yet.
http://newsletters.livecode.com/september/issue157/
Watch out 6.5 is a very early release.
Simon
Good to know but I'm kinda confused by the new update.
if I want to design an Android App then does it require me to use any special code to set up the automatic resizing?
I created a small test App, all it was, was an 480 by 800 pixel screen with 4 buttons, one in each corner this was the resolution of my old phone, but I ran it on my Samsung Galaxy Note which has a much larger screen (800 x 1280 pixels)
I was expecting either the app to either fill the entire screen or only fill part of the screen, what I got instead what the buttons going off the edge of the screen.
I'm really confused what's going on here.
I've attached a screenshot
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Multiple resolutions, resize stack a solution
Hi archer2009BUSknbj,
I think in reading that newsletter the current implementation is for pixel density only.
Simon
I think in reading that newsletter the current implementation is for pixel density only.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 72
- Joined: Sat Apr 06, 2013 8:09 am
- Location: London
Re: Multiple resolutions, resize stack a solution
I'm really confused as to why the 4 buttons I drew would spill over the edge on my Samsung Galaxy note.
The canvas on LiveCode was only 480 Pixels wide whilst my Samsung had 800 pixel so if anything it should have been taking up only about a half of the screen.
All I can assume is this is some kind of major bug.
The canvas on LiveCode was only 480 Pixels wide whilst my Samsung had 800 pixel so if anything it should have been taking up only about a half of the screen.
All I can assume is this is some kind of major bug.
Re: Multiple resolutions, resize stack a solution
Is there way to use this script on multiple cards at once? Also, if I put the results of this script from every card into the stack it will be over 1000 lines long. Is there a simpler way to do the same?
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Multiple resolutions, resize stack a solution
Hi marcelloe,
You should be working with the new LiveCode 6.5.0 RC2 (RC3 should be available today). It has the resolution independence built in.
Simon
You should be working with the new LiveCode 6.5.0 RC2 (RC3 should be available today). It has the resolution independence built in.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!