The values in standard.css are below.  Maybe they are a starting
point:

.gwt-Tree .gwt-TreeItem {
  padding: 1px 0px;
  margin: 0px;
  white-space: nowrap;
  cursor: hand;
  cursor: pointer;
}
.gwt-Tree .gwt-TreeItem-selected {
  background: #93c2f1 url(images/hborder.png) repeat-x 0px -1463px;
}
.gwt-TreeItem .gwt-RadioButton input,
.gwt-TreeItem .gwt-CheckBox input {
  margin-left: 0px;
}
* html .gwt-TreeItem .gwt-RadioButton input,
* html .gwt-TreeItem .gwt-CheckBox input {
  margin-left: -4px;
}

On Mar 25, 7:00 am, epaga <[email protected]> wrote:
> How can I change the padding in a tree's rows? It currently seems to
> be set to
>
> padding-top: 3px; padding-right: 3px; padding-bottom: 3px; margin-
> left: 0px;  padding-left: 23px;
>
> Neither styling gwt-Tree nor gwt-TreeItem seems to help.
> I have even tried styling
>
> .gwt-Tree > div {
>         padding: 0px 5px !important;
>
> }
>
> which sort of works, but as soon as a tree row is selected, the entire
> tree shifts to the left.
>
> Thanks in advance for any help,
> John Goering

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to