PDA

View Full Version : [FIXED] TextToolItem height issue



Alex.Leshkin
30 Jul 2008, 9:57 AM
Detailed description of the problem
TextToolItem's height is calculated not correctly and tool item's icon moves up after mouseOver event for tool item.

GXT version
gxt 1.0.1

Host mode / web mode / both
both

Browser and version
IE6 SP2

Operating System
Windows XP SP2

Sample code



public class TestCase extends LayoutContainer implements EntryPoint {

public TestCase() {
super();

final ToolBar toolBar = new ToolBar();
final TextToolItem firstToolItem = new TextToolItem();
firstToolItem.setIconStyle("x-tbar-page-first");
toolBar.add(firstToolItem);

this.add(toolBar);
}

public void onModuleLoad() {
Viewport viewport = new Viewport();
viewport.add(this);
RootPanel.get().add(viewport);
}

}

darrellmeyer
2 Aug 2008, 11:22 AM
Fix is in SVN.