Re: Going fullscreen doesn't trigger resizeStack
Posted: Thu Feb 10, 2022 8:37 pm
Is there a way to disable the Geometry Manager?It is the Geometry Manager . . . Hence the problems.
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
Is there a way to disable the Geometry Manager?It is the Geometry Manager . . . Hence the problems.
I could just not use the GM - but then I’d have to add significant amount of code to move/resize a huge number of graphics, groups, fields and so on. The GM is a great timesaver and I’d really loathe to stop using it… so for me that’s not the answer.
Code: Select all
on resizeStack
revUpdateGeometry -- forces update of geometry
send "dynamicTextResize" to field 1
end resizeStackI would'nt go that far...
Given the initial time to click click click click click click plus this thread now spanning three pages, how much time was saved?stam wrote: Thu Feb 10, 2022 10:00 pm I could just not use the GM - but then I’d have to add significant amount of code to move/resize a huge number of graphics, groups, fields and so on. The GM is a great timesaver and I’d really loathe to stop using it… so for me that’s not the answer.
Thanks Richard, i get what you're saying - but in truth 'click-click-click' is a whole lot quicker than writing adding, maintaining and subtracting code. The fact that this, as you say, spans three pages is the fault of missing documentation, not because of a problem with the GM per se. Given that the GM is an integral component of the IDE my view is that the final solution here should have been mentioned in the resizeStack documentation (literally just 1 line added).FourthWorld wrote: Fri Feb 11, 2022 5:21 pm If using resizeStack directly ever becomes an interest for you, feel free to post example layouts and we can discuss lean direct solutions. In every case we've done that in these forums so far, the amount of code needed in the end has always been far less than what was anticipated.
Wise words…
No you don't need to wait until the end of developement- just run revCacheGeometry true in the message box after any change to the layout and it will update the GM so it doesn't misbehave. This was the advice from Brian Milby in a long, heated thread and i've found this to solve > 95% of issues.jacque wrote: Sat Feb 12, 2022 6:58 pm Stam, I'm curious how you use the GM. I've avoided it because it requires a redo if the layout changes during development. Do you wait until the end of development to set it up?