Opened 10 years ago

Closed 10 years ago

#10803 closed enhancement (wontfix)

ContentPane resize ignores scrollbar changes.

Reported by: Phil DeJarnett Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

This may not be fixable, but if the height of the information in a ContentPane is changed enough to cause scrollbars to appear or disappear, the ContentPane is not resized.

This manifests itself when a ContentPane includes a long TitlePane that can be collapsed or shown. If the Window is at a height where opening or closing the TitlePane causes the scrollbar to appear or disappear, then the internal content of the parent ContentPane is not correctly resized, leading to items displaying off the side or having too much gap. (An example is a TitlePane that contains a DataGrid.)

One possible (hackish) solution is for TitlePane to call parent.resize() at the end of it's animation. At least for that Widget, which is expected to have a variable height, changes in the scrollbar would be detected.

Change History (2)

comment:1 Changed 10 years ago by bill

Description: modified (diff)

I'm not really following what you are saying. Maybe it's that you have a ContentPane --> TitlePane --> Grid hierarchy where opening the TitlePane causes a scrollbar on the ContentPane, thus reducing the width of the ContentPane and it's child TitlePane, and the grid is not properly resized in that case?

In any case, please attach a test case using the attach file button.

comment:2 Changed 10 years ago by bill

Resolution: wontfix
Status: newclosed

Closing for lack of test case.

Note: See TracTickets for help on using tickets.