Interestingly if the tree component has its own style unique to the component
I think it will or could override a css style applied for the page even
matching classes.
Perhaps you can also try on the component:
@Override
public void onComponentTag(ComponentTag tag){
super.onComponentTag();
tag.put("style", "white-space: nowrap;width: 60em;overflow: auto;margin:
10px;line-height: 1.5em; ");
}
The above is from memory but it should work... just put it inside the tree
component ie:
Tree tree = new Tree(...){
@Override public void onComponentTag(...){...}
};
I hope this helps, it will certainly narrow down the problem I think....
Matthew
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-tree-tp3313498p3313613.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]