I'm having a problem where the second time a dialog is popped up, there's a little extra below the titlebar that pushes it down so the content is offset and the buttons are no longer visible. It is not recreated or anything, it is just hidden after the first time. The button also seems to be rendered twice down below. I'm also rewriting the internal content of the body using Ext.DomHelper.overwrite if that helps. I don't know why that would cause a rendering area with a button though. It also seems to have problems resizing, it's just the shadow that shows up on the new area.
This is also on FF2.0, will test on IE6, don't have IE7 right now to test on.
Edit: IE6 will have to wait, there's a mysterious error somewhere that's causing IE6 to puke.
This is also on FF2.0, will test on IE6, don't have IE7 right now to test on.
Edit: IE6 will have to wait, there's a mysterious error somewhere that's causing IE6 to puke.

#2
![]() |
![]() im having this problem too, the first time i open my dialog its all ok, then i close it and when i reopen, it looks like this:
![]() did anybody know where the problem could be? please help ![]() ![]() |
#3
![]() |
![]() If you're changing the content/height of the body element, you might try calling syncBodyHeight()
__________________
Tim Ryan - Ext JS Support Team Read BEFORE posting a question / posting a Bug Use Google to Search - API / Forum API Doc (3.x | 2.x | 1.x) / FAQ / Wiki / Tutorials / 1.x->2.0 Migration Guide ![]() |
#4
![]() | |
![]() Quote:
This also didn't seem to be an issue until 1.0. Edit: Where is that syncBodyHeight at? It doesn't seem to be a part of BasicDialog. ![]() |
#5
![]() |
![]() It is in BasicDialog, it's just one of functions that hasn't been documented yet.
__________________
Tim Ryan - Ext JS Support Team Read BEFORE posting a question / posting a Bug Use Google to Search - API / Forum API Doc (3.x | 2.x | 1.x) / FAQ / Wiki / Tutorials / 1.x->2.0 Migration Guide ![]() |
#6
![]() |
![]() Use the config option syncHeightBeforeShow instead of calling the private function syncBodyHeight.
However, this looks like a classic case of the dialog being duplicated (rendered twice). I would recommend looking at you code and making sure you aren't creating the same dialog twice on the same element. ![]() |
#7
![]() | |
![]() Quote:
![]() |