final int level = parent.getLevel();
// final boolean folder = parent.isFolder();
Style style = new Style();
Measure paddingLeft = getResourceManager().getThemeMeasure(facesContext, node, "custom.padding-left");
paddingLeft = paddingLeft.multiply(level);
style.setPaddingLeft(paddingLeft);
/*
Measure width = ((UITreeMenu)(node.getParent().getParent().getParent())).getCurrentWidth();
width = width.subtract(4); // XXX 4 = border + padding
width = width.subtractNotNegative(paddingLeft);