NavigationBar Sample Issue

Answered
0
0

I was looking at the Navigationbar sample and when I am in chrome and switch modes in developer view the screen size of the browser doesn’t change to the smaller size.

if (Application.Browser.ScreenSize.Width < 700)
this.panel1.CompactView = true;
else
this.panel1.CompactView = false;

Any ideas on what to do on this?

Thanks -Tim

  • You must to post comments
Best Answer
0
0

The Application.Browser.ScreenSize is the device screen size while the Application.Browser.Size is the size of the browser. If you switch device in emulation mode you need to hit refresh since there is no event in the browser when the device emulation changes.

With Wisej 2 you can also set the value true|false using the responsive profile selector in the designer.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.