stack size locked

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

stack size locked

Post by Samuele » Sun Dec 19, 2021 12:33 pm

hi, my livecode stack has some cards in it and now i encountered a problem when i move across card the stack size change and it is really annoying, only now has this problem arisen, any ides on how to lock the stack size for good (the "resizable" box is not checked)
thanks!
Samuele.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10097
Joined: Fri Feb 19, 2010 10:17 am

Re: stack size locked

Post by richmond62 » Sun Dec 19, 2021 1:45 pm

If the resizable box is not checked then the only reason
I can think of is that somewhere in your stack there is
code which is resizing it.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: stack size locked

Post by jacque » Sun Dec 19, 2021 6:15 pm

Did you add a menu bar? If you're on a Mac the size will change depending whether the card contains the menubar or not.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: stack size locked

Post by dunbarx » Sun Dec 19, 2021 6:27 pm

when i move across card the stack size change
Do you mean when you move the cursor across the card?

Craig

Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: stack size locked

Post by Samuele » Sun Dec 19, 2021 10:56 pm

jacque wrote:
Sun Dec 19, 2021 6:15 pm
Did you add a menu bar? If you're on a Mac the size will change depending whether the card contains the menubar or not.
I am on mac, what do yo mean with "the card contains the menubar or not"?
Samuele.

Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: stack size locked

Post by Samuele » Sun Dec 19, 2021 10:58 pm

dunbarx wrote:
Sun Dec 19, 2021 6:27 pm
Do you mean when you move the cursor across the card?

Craig
when i move across cards for example a button with script "go to card info".
but it doesn't happen every time, that's what i can't understand, it seems random, i don't know...
Samuele.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: stack size locked

Post by jacque » Mon Dec 20, 2021 12:20 am

Samuele wrote:
Sun Dec 19, 2021 10:56 pm
jacque wrote:
Sun Dec 19, 2021 6:15 pm
Did you add a menu bar? If you're on a Mac the size will change depending whether the card contains the menubar or not.
I am on mac, what do yo mean with "the card contains the menubar or not"?
Sounds like you don't have a menu bar. On a Mac, if you use a custom menu bar, the stack will shrink so that the menus are at the top of the screen like all Mac apps. On Windows and Linux the menu bar shows at the top of the stack instead of at the top of the screen. If you didn't create a custom menu for your app then that's not the reason.

A screenshot of a normal-sized card and a differently-sized card might help us identify the problem. The only thing I know of that would cause a size change is if there is a menu bar on a card and you're on a Mac.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: stack size locked

Post by dunbarx » Mon Dec 20, 2021 1:11 am

Hi, sorry but:
when i move across cards for example a button with script "go to card info".
Do you mean when you navigate from one card to another? Jacque's concern about custom menus would not apply unless each card changed the existence of such a menu.

Craig

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: stack size locked

Post by jacque » Mon Dec 20, 2021 5:10 am

I believe he does mean card navigation, and placing a menu on only one card happens more often than you'd think. It's natural to think that a menu only needs to be placed once. But I'm still not sure whether there's a menu bar involved in this case.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10097
Joined: Fri Feb 19, 2010 10:17 am

Re: stack size locked

Post by richmond62 » Mon Dec 20, 2021 9:02 am

The OP keeps posting extremely cryptic things; it would be better for them, as well as
all the rest of us if they gave us more information each time.

Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm

Re: stack size locked

Post by Samuele » Mon Dec 20, 2021 5:06 pm

dunbarx wrote:
Mon Dec 20, 2021 1:11 am
Hi, sorry but:
when i move across cards for example a button with script "go to card info".
Do you mean when you navigate from one card to another?
Craig
yes :)
Samuele.

Klaus
Posts: 14193
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: stack size locked

Post by Klaus » Tue Dec 21, 2021 1:56 pm

card size = stack size!

If your cards change size during browsing, then there must be some scripts that do so!

Post Reply