Page 1 of 1
New Stack Preset Sizes
Posted: Wed Jan 20, 2021 8:40 am
by vizualDevelop
Is Livecode meant primarily for mobile devices?
File> New Stack>...all you see are iPhone and iPad preset sizes.
Why not desktop sizes?
David R.
Re: New Stack Preset Sizes
Posted: Wed Jan 20, 2021 11:10 am
by bogs
Heh, that is a
'feature' that was added after the last major redesign of the IDE.
Personal opinion, I don't think it was too well thought out.

- Phone home? ME ??
if you ignore all the 'i-phone' stuff, the resolutions would work out in desktop sizes. For instance, the first 4 are approximately the size of utility windows. The last 2 would be the size of, say, a text editor you might open.
Me personally, I ignore all of that and just open a default size and size it how I want or, alternately, open blank default stacks I've setup as templates.
I should add that I am rarely in the new IDE, and when I am I am more likely to have M.W.'s excellent Power Tools plugin open than not.

- Where is that screwdriver...
Re: New Stack Preset Sizes
Posted: Wed Jan 20, 2021 2:42 pm
by dunbarx
Hi.
Know you can set the properties of the "templateStack" to whatever you wish, and any new stack will look just like that one.
Craig
Re: New Stack Preset Sizes
Posted: Wed Jan 20, 2021 3:03 pm
by bogs
Yep, there are a lot of ways to make new stacks, but setting the template is most useful if your only shooting for one particular size over a lot of stacks.
Re: New Stack Preset Sizes
Posted: Wed Jan 20, 2021 5:27 pm
by dunbarx
Bogs.
Yep. You can even have a bunch of rects stored somewhere, and choose among them to set the rect of the templateStack ad hoc. I am not sure this is faster or easier than just resizing the default, which, like you, is what I always do.
Craig
Re: New Stack Preset Sizes
Posted: Wed Jan 20, 2021 5:30 pm
by FourthWorld
Desktop apps have windows in many sizes: documents are resizable, some of fixed width less than the monitor width; About boxes are relatively small, and in a variety of sizes; dialogs vary according to what they display...
So many sizes, just make a stack and set it up as you need.
If you need any tips on adjusting content for resizable windows there are many, don't be shy.
Re: New Stack Preset Sizes
Posted: Wed Jan 20, 2021 5:40 pm
by bogs
Hee hee, I'm not sure I'd say *always*, but close enough heh. I don't usually work with sizing requirements, but sometimes I do.
Other than those times, my stack size is only dictated by looks, which changes depending on what is on it

Re: New Stack Preset Sizes
Posted: Mon Jan 25, 2021 5:03 pm
by vizualDevelop
I asked because it seems curious that LiveCode targets many platforms but only has presets for Iphone and Ipad. Seemed weird.
I am still getting my way around and following the "ABC Courses" tutorials which are fantastic, so as I go along I will definitely need some guidance. Thanks a lot for the great help!
David R.
Re: New Stack Preset Sizes
Posted: Mon Jan 25, 2021 5:17 pm
by FourthWorld
vizualDevelop wrote: ↑Mon Jan 25, 2021 5:03 pm
I asked because it seems curious that LiveCode targets many platforms but only has presets for Iphone and Ipad. Seemed weird.
Very. For so many reasons. That menu really needs to be cleaned up.
When I finish the "New Stack" tool in my
devolution plugin I may also distribute that as a separate UI upgrade for LC, addressing the issue you raised and several others.
I am still getting my way around and following the "ABC Courses" tutorials which are fantastic, so as I go along I will definitely need some guidance. Thanks a lot for the great help!
Glad you're off to a good start. Keep us posted as you come up with more questions.