I have added a custom TreeItem to the tree.The TreeItem has a horizontal panel whose bottom-border width is 1px height,to make it to look like a table row(So basically i want to make the tree look like tree table). But the problem is, the tree width is confined by its content.I'm unable to increase the tree width to make it look like table.I tried increasing the width of horizontal panel present in the tree item,but that doesn't work.Can anyone please help me on this?.
Try this:
.gwt-Tree table {
table-layout: fixed;
width: 100%;
}
.gwt-Tree table td:first-child {
width: 18px;
}