The Component.shim property is used to enable adding an iframe shim to a component - its still there, but it isn't as exposed as it used to be. GXT checks if the current browser needs shims for things (only some browsers do) via GXT.isUseShims(). By default this is true for IE6, and old FF builds on a mac, and false otherwise. You can set it to true for other browsers via GXT.setUseShims(boolean).
When i click on a button of my toolbar, a menu is trigrered and unfortunatly is displayed under the pdf.
The Menu needs shim set to true, but the menu constructor already sets that to true - is this not working correctly?
To debug this, check out Component.onAfterFirstAttach():
Code:
/**
* Called immediately after the first time the widget becomes attached to the
* browser's document only the first time.
*/
protected void onAfterFirstAttach() {
if (shadow || (shim && GXT.isUseShims())) {
layer = new Layer(getElement());
if (shadow) {
layer.enableShadow();
layer.setShadowPosition(shadowPosition);
}
if (shim && GXT.isUseShims()) {
layer.enableShim();
}
}
Set a breakpoint on that if block just before you see the menu and make sure it steps into there correctly, and that the shim draws.