PDA

View Full Version : Arrows/PlusMinu icons in TreePanel



LordLuky
14 Jul 2009, 3:37 AM
Hi :-), In my project I use TreePanel and I need change that small arrow like icon for plus/minus like icons.
I already found
treePanel.getStyle().setNodeCloseIcon(ICONS.add()); but I don't want that.
I want replace "images/defaul/tree/arrows.gif" where are arrows with something like this "images/defaul/tree/elbow-plus.gif,..." thus plus minus tiny buttons.

Can I change it with some css or interface or I must simply replace arrows.gif with my own image?
I thing last option would be rude.

Thanks

LordLuky
14 Jul 2009, 5:49 AM
File which I thing I have to change is
gxt.jar/com/extjs/gxt/ui/client/image/tree-collapsed.gif
and
gxt.jar/com/extjs/gxt/ui/client/image/tree-expanded.gif