Scrollbars

Develop and Deploy Cross-Browser Web Apps .

Scrollbars

Postby joedarock » Fri Aug 05, 2016 12:09 pm

How to automatically display browser scrollbars if the app size exceeds the browser window size?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Scrollbars

Postby joedarock » Wed Aug 10, 2016 3:24 pm

Can someone please acknowledge that this request was read, and then reply with an answer?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Scrollbars

Postby joedarock » Thu Sep 22, 2016 2:53 pm

After 2 requests, still haven't heard from support.

In some of the older versions of my code, the deployed app shows vertical scroll bars when the app size is bigger than the window size; recently it doesn't. How do you control if/when scroll bars appear?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Scrollbars

Postby support » Sun Sep 25, 2016 1:05 am

You can use 'overflow' property to contorl that:

overflow-y:auto
support
 
Posts: 350
Joined: Sat Apr 27, 2013 9:22 am

Re: Scrollbars

Postby joedarock » Mon Sep 26, 2016 5:49 pm

Can you supply an example please?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Scrollbars

Postby support » Tue Sep 27, 2016 3:54 am

Add all your root widgets into a xui.UI.Pane, and set the 'overflow' property of this Pane.
support
 
Posts: 350
Joined: Sat Apr 27, 2013 9:22 am

Re: Scrollbars

Postby joedarock » Tue Sep 27, 2016 10:18 am

My app has numerous widgets already designed using the visual designer. How do I add a parent pane as suggested? Please provide an example. Feel free to use as many words as necessary to make it clear, as words don't cost anything except your time.
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Scrollbars

Postby support » Wed Sep 28, 2016 1:01 am

Try this in onReady event:

xui('html').removeClass('xui-css-noscroll');

or,

xui('html').css('overflow','auto');
support
 
Posts: 350
Joined: Sat Apr 27, 2013 9:22 am

Re: Scrollbars

Postby joedarock » Wed Sep 28, 2016 12:40 pm

Thank you....that worked.
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm


Return to CrossUI for Web Apps

Who is online

Users browsing this forum: No registered users and 0 guests

cron