You are not logged in.

#1 2017-03-14 12:52:31


Scaled.ab Example hide the Name input

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?

#2 2017-03-14 13:23:16

From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,718

Re: Scaled.ab Example hide the Name input

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.


Board footer

Powered by FluxBB