Scaled.ab Example hide the Name input


Guest

Hi David.

I noticed that when I run the scaled.ab sample, there is a problem when your viewport (you browser window) is smaller than the app height.
If you run the example in Chrome, or other external browser, and you resize the browser window to be smaller than appheight and then click the "Set Fixed Style" or "Set scaled (specific size)", the top part of you screen disappear, and you cannot get to it.

Once you click the "Set Scaled (all viewport)" things return to normal.

1. Do I need to worry about this?
2. Is there a way to fire a "redraw" event - so bootstrap can do it's thing?


DecSoft

Hello fakie,

I think you are described the expected behaviour and for that reason we can change between fixed and scaled modes. Certainly you trying by reducing a lot the app's height, which can only "try to be adapted" if we use the scaled mode. If we use the fixed mode then the "top controls" do not dissapear, but simply can't appear in that smaller screen.

What you can do is detect the screen size (see app's globals variables like "[App.InnerHeight]") and act in consecuence by change the scale mode, hide some controls, etc.


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.