gwt-tree css style

1.1k Views Asked by At

I am having difficulty styling the gwt-tree widget.

I have used

.gwt-Tree {
    padding-top: 4px;
    padding-left: 0px;
    font-weight: bold;
    color: #0066CC;
    width: 14.5em !important;
}

.gwt-Tree .gwt-TreeItem {
    padding-left: 0px !important;
    margin-left: -1.5px !important;
    }

But I can still see the padding. Also I want to increase the size of tree item (+) . Any pointers will be hwlpful.

Google search yielded this which didnt work.

.gwt-Tree > div:first-child {
  width: 0px !important;
  height: 0px !important;
  margin: 0px !important;
  padding: 0px !important;
}

.gwt-Tree > div {
        padding: 0px 5px !important;
}

.gwt-Tree > div[hidefocus=true] {

        width: 0px !important;
        height: 0px !important;

        margin: 0px !important;
        padding: 0px !important;
}

Any sort of help will be appreciated. Thanks!

0

There are 0 best solutions below