Stack Resizing Tool

Are you developing tools to extend the LiveCode environment? This is the place to talk about the nuts and bolts of extending our nuts and bolts. If you want to use a LiveCode or third party Environment extension, visit the Using Evironment Extensions forum.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Peregrine
Posts: 53
Joined: Sun Jan 10, 2010 10:33 pm
Location: Always changing!
Contact:

Stack Resizing Tool

Post by Peregrine » Tue Jun 12, 2012 8:26 pm

I wanted to share this little plugin tool I've made and have been using.

ResTool is a small palette for resizing your stack to a number of standard screen dimensions.
It's handy for stacks intended for iOS, Android, or kiosks development.
You can switch from portrait to landscape orientations, subtract an arbitrary number of pixels to account for a status bar, and move the stack around on the screen. There are buttons to shift the stack up and down, left and right--useful, for example, if you are working on a laptop or smaller screen and developing a stack meant for HD1080 resolution in portrait orientation. (That's exactly what got me started on this in the first place.)
There is a substack with a chart of common video standards and aspect ratios, and a couple of useful tables (via the "Ref" button.)
No documentation, really, but the tooltips should help if anything isn't obvious.
Put it your Plugins folder, of course.

UPDATE: I've made an info and download page here: http://buchwald.ca/developer-tools/

If you have any suggestions, additions or edits, please feel free to modify it as you see fit, or send me such ideas. I hope you may find it useful.

Thanks!
- Charles
Last edited by Peregrine on Sun Jan 13, 2013 10:50 pm, edited 2 times in total.
Charles Buchwald
xTalk coding since 1990
Developer of lcResTool and lcMover and other developer tools
https://charlesbuchwald.com

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3236
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Stack Resizing Tool

Post by bn » Tue Jun 12, 2012 11:07 pm

Thank you Charles,

this is a nifty little helper and a very handy overview of all the different screensizes and resolutions.

Very much appreciated.

Kind regards
Bernd

Peregrine
Posts: 53
Joined: Sun Jan 10, 2010 10:33 pm
Location: Always changing!
Contact:

Re: Stack Resizing Tool

Post by Peregrine » Wed Jun 13, 2012 1:23 am

You are most welcome!
I'm glad I can contribute to the community.
Cheers,
- Charles
Charles Buchwald
xTalk coding since 1990
Developer of lcResTool and lcMover and other developer tools
https://charlesbuchwald.com

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Stack Resizing Tool

Post by Mag » Mon Dec 03, 2012 5:37 am

Thank you Charles, great tool.

Peregrine
Posts: 53
Joined: Sun Jan 10, 2010 10:33 pm
Location: Always changing!
Contact:

Re: Stack Resizing Tool

Post by Peregrine » Mon Dec 03, 2012 5:57 am

Thanks for the thanks!
I've made an info page here: http://buchwald.ca/developer-tools/
There has been at least 1 update since I posted here originally. And I've built in update notifications, so users can be automatically notified in the future.

Also, I have another little plugin there, too, called lcMover. Check it out!
Charles Buchwald
xTalk coding since 1990
Developer of lcResTool and lcMover and other developer tools
https://charlesbuchwald.com

Fasasoftware
Posts: 186
Joined: Mon Oct 31, 2011 9:36 pm
Location: Italy
Contact:

Re: Stack Resizing Tool

Post by Fasasoftware » Fri Dec 07, 2012 6:42 pm

One question....

Wonderful plugin...but what about the changing dimensions for Android??? Can you tell me please how are those??
Thanks a lot....

Lestroso

Peregrine
Posts: 53
Joined: Sun Jan 10, 2010 10:33 pm
Location: Always changing!
Contact:

Re: Stack Resizing Tool

Post by Peregrine » Fri Dec 07, 2012 7:18 pm

Hi Lestroso,

Click the Reference button in my tool, and use the arrows on the lower right to go to the second card of that reference window. You'll see a note about all the different Android sizes, and a short list of some of the most popular Android devices and their resolutions.

There are thousands of Android variations, so I understand that it's very hard to keep up with all of them. The official Android Developer guidelines recommend targeting 4 different size/resolution combinations, according to "abstracted device resolutions" including ldpi, mdpi, hdpi and xdpi. Realistically, if we want to deploy on Android, I think it means making UI layouts that can accommodate a whole range of stack dimensions, and even different scaling factors. It's not a simple problem!

I am working on a major upgrade to this tool, that will make it easier to deal with the interplay of resolution, display density, scaling factor, and the actual size of the display. I think it's pretty cool, but I'm not quite ready for release. So stay tuned!

- Charles
Charles Buchwald
xTalk coding since 1990
Developer of lcResTool and lcMover and other developer tools
https://charlesbuchwald.com

Post Reply

Return to “Extending LiveCode”