Opened 12 years ago

Closed 12 years ago

#3150 closed defect (fixed)

layouts "swallow" scroll bars in themeTester.html

Reported by: alex Owned by: bill
Priority: high Milestone: 0.9beta
Component: Dijit Version: 0.9
Keywords: Cc: alex
Blocked By: Blocking:

Description

on every browser I've tried, loading themeTester.html yeilds an upper-right scrollable pane, but the scrollbars that are initially visible are not appropriate for the content. Instead, they "mask" the real content scrollbar. I assume one of the layout methods is not getting called at the right time. Moving to another tab and moving back appears to fix the issue.

Change History (4)

comment:1 Changed 12 years ago by guest

... may be fixed when #3082 get's fixed. Once focus on node is complete, scrollbars disappear.

comment:2 Changed 12 years ago by bill

Status: newassigned

Ah, it's the TODO from TabContainer?.js:

			// TODO: subtract out padding border margin...

I'll fix this.

comment:3 Changed 12 years ago by bill

(In [8791]) Fixes the hidden scrollbar issue (refs #3150) but produces another problem where the initial pane is too narrow, at least in themeTester.html on my machine (FF2.0/mac).

PageContainer::_showChild() calls dojo.contentBox(this.containerNode), which returns w==854 even though this.containerNode.style.width=="869px"... thus (if I'm analyzing correctly) demonstrating the dangers of querying the content box size right after setting the margin box size.

More checkins to come.

comment:4 Changed 12 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [8792]) Manually compute content-box of this.containerNode. Fixes #3150. Unfortunately themeTester.html seems to be broken on IE and Webkit so can't test there.

Note: See TracTickets for help on using tickets.