To see a screenshot, go to:
http://img204.imageshack.us/my.php?image=gwttreelh8.jpg
Thanks.
The DTD determines the rendering mode on most browsers, and the bug in
Tree.moveFocus() manifests in strict rendering mode.
-= Mat
--
Mat Gessel
http://www.asquare.net
I see it in FF, but have not tested it with IE since I'm having trouble
making something else to work there. The styles for the tree are:
.gwt-Tree
{
margin-top: 1em;
margin-bottom: 1em;
}
.gwt-Tree .gwt-TreeItem {
font-size: 80%;
cursor: pointer;
cursor: hand;
}
.gwt-Tree .gwt-TreeItem-selected {
background-color: #C3D9FF;
cursor: pointer;
cursor: hand;
}
.fxl-ProjectTree
{
margin: 8px 0px 8px 0px;
padding: 4px;
width: 40%;
height: 60%;
border: solid 1px #A2C3FB;
background-color: #E1EBFB;
overflow: auto;
}
(fxl-ProjectTree is used by doing tree.addStyleName("fxl-ProjectTree"))
Mat,
This is what I'm using:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Thanks