Opened 11 years ago
Closed 11 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 )
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 11 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closing for lack of test case.
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.