Changed the ScaleFactor, Getting Strange Results
Posted: Thu Mar 05, 2015 1:51 am
Hello!
I have recently changed the scaleFactor of a few of my stacks to 0.5, in order to produce a stack in higher resolution, so once it is deployed on mobile (iOS and Android), it can be scaled to match the screen's resolution without looking blocky. Basically, my thought is that I get to make the source file in hi-definition, so that when it is deployed, there is enough pixel data to produce a smooth looking app that rarely (if ever) needs to be scaled up.
I believe that logic is correct. End result is that I just double the heights and widths of the objects I make in the IDE, but they appear to be the same size, so I am not working with a huge looking interface on my computer screen.
However, the stack size I have chosen as standard is 660 width x 1140 height. Whenever I close a stack and reopen it, it opens with the loc of the stack shifted UP on my desktop, and the overall stack height is truncated to 967, leaving me with a 660 width x 967 height stack.
After testing on the IDE on a Mac desktop, I am getting the vertical shift, as well as the vertical stack truncation. For Windows desktop, I am only seeing the vertical shift. Meaning that the stack is not in the same location on my screen that it was when it was closed; it is higher, often with the draggable title bar behind the LiveCode navigation palette.
In and of itself, this seems like a bug. ON TOP OF THAT, I have made sure that the box marked resizable is NOT ticked, and that the liveResizing of the stack is set to false. One would think these additionally safeguard against exactly what I am experiencing.
How do I avoid this?! Where have I gone wrong? Is there a bug?
Thanks for reading! Let me know if you have any knowledge on the topic.
Phil E.
I have recently changed the scaleFactor of a few of my stacks to 0.5, in order to produce a stack in higher resolution, so once it is deployed on mobile (iOS and Android), it can be scaled to match the screen's resolution without looking blocky. Basically, my thought is that I get to make the source file in hi-definition, so that when it is deployed, there is enough pixel data to produce a smooth looking app that rarely (if ever) needs to be scaled up.
I believe that logic is correct. End result is that I just double the heights and widths of the objects I make in the IDE, but they appear to be the same size, so I am not working with a huge looking interface on my computer screen.
However, the stack size I have chosen as standard is 660 width x 1140 height. Whenever I close a stack and reopen it, it opens with the loc of the stack shifted UP on my desktop, and the overall stack height is truncated to 967, leaving me with a 660 width x 967 height stack.
After testing on the IDE on a Mac desktop, I am getting the vertical shift, as well as the vertical stack truncation. For Windows desktop, I am only seeing the vertical shift. Meaning that the stack is not in the same location on my screen that it was when it was closed; it is higher, often with the draggable title bar behind the LiveCode navigation palette.
In and of itself, this seems like a bug. ON TOP OF THAT, I have made sure that the box marked resizable is NOT ticked, and that the liveResizing of the stack is set to false. One would think these additionally safeguard against exactly what I am experiencing.
How do I avoid this?! Where have I gone wrong? Is there a bug?
Thanks for reading! Let me know if you have any knowledge on the topic.
Phil E.