search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Losing scrollbars when adjusting height dynamically

Asked by Confused
7 years ago.

Hi there,
On an event i want to increase/decrease the size of the scheduler and reset the height and width.

I have set the HeightSpec to Fixed and on the event the height is set by dps.setHeight(newheight);
It works in that the height is increased, however the horizontal scroll disappears and I noticed the underlying div's are now taller then the main scheduler div.

In Chrome i can manually set each divs height property to a smaller value but how can this be done based on the event? Do I need to do something beyond just the following?

dps.setHeight(someHeight);
dps.width = someWidth;

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.