Hi,
we use GXT 1.4 along with GWT 1.5.3 in our web-application.
On the left hand side, I display a tree and when a user clicks on an item in this tree, an editor on the right hand sides opens up in a TabPanel as a TabItem.
This works _most of the time_. Sometimes, however, instead of the editor, I get a ContentPanel with the style "x-layout-collapsed x-panel" filling the whole screen and obscuring my view. I tried to reproduce the problem by writing a small application that does essentially the same, but without our complex-server logic, but the problem -- naturally -- does not appear in that small program.
However, if I comment out all server-interaction, the problem still appears in our web-application. Do you guys have any idea why GXT could produce this DOM structure:
instead of this:Code:<div class="x-tab-panel-body x-tab-panel-body-top" style="height: 467px; width: 626px;">
<div id="0" style="overflow: hidden; width: auto; height: 467px; position: relative;">
<div id="x-auto-19" class=" x-border-layout-ct" style="overflow: hidden; width: 100%; height: 100%; position: relative;">
<div id="x-auto-29" class="x-layout-collapsed x-panel " style="overflow: hidden; height: 465px; visibility: visible; position: absolute; left: 0px; top: 0px; width: 624px;">
<div class="x-panel-header" style="cursor: default;">
<div id="x-auto-28" class=" x-nodrag x-tool-null x-tool"/>
<span class="x-pnael-header-text"/>
</div>
</div>
</div>
</div>
</div>
I know my description is vague at best -- but this bug has got me completely confused! All I can say additionally is that the problem does _no longer appear_ in GXT 2.0.1 -- unfortunatley, updating is not an option right now. :(Code:
<div class="x-tab-panel-body x-tab-panel-body-top" style="height: 467px; width: 626px;">
<div id="0" style="overflow: hidden; width: auto; height: 467px; position: relative;">
<div id="x-auto-19" class=" x-border-layout-ct" style="overflow: hidden; width: 100%; height: 100%; position: relative;">
<div id="x-auto-34" class="x-layout-collapsed x-panel " style="overflow: hidden; height: 465px; visibility: visible; position: absolute; display: block; left: 0px; top: 0px; width: 22px;">
<div class="x-panel-header" style="cursor: default;">
<div id="x-auto-33" class=" x-nodrag x-tool-right x-tool"/>
<span class="x-pnael-header-text"/>
</div>
</div>
<div id="x-auto-28" class=" x-panel" style="overflow: hidden; position: absolute; left: 29px; top: 0px; width: 597px; height: 467px;">
<div id="x-auto-26" class=" x-small-editor x-panel-header" style="display: none;">
<div id="x-auto-24" class=" x-icon-btn x-nodrag x-panel-inline-icon" style="cursor: default; float: left; display: none;"/>
<div id="x-auto-25" class=" x-panel-toolbar" style="overflow: visible;">
<table cellspacing="0" cellpadding="0">
<tbody>
</tbody>
</table>
</div>
<span class="x-panel-header-text">View Sales</span>
</div>
<div class="x-panel-bwrap">
<div class="x-panel-tbar x-panel-tbar-noheader">
<div id="x-auto-27" class=" x-form-label" style="position: static;"/>
</div>
<div class="x-panel-body x-panel-body-noheader" style="overflow: hidden; width: 595px; height: 460px; position: relative;">
</div>
<div class="x-panel-footer x-panel-nofooter"/>
</div>
</div>
</div>
</div>
Any help would greatly be appreciated!
TIA,
Philipp

