int (@NotNull Control control, int depth, boolean leaf) { if (depth <= 0 || leaf) return -1; // do not paint control int left = getLeftIndent(); return depth > 1 ? (depth - 1) * (left + JBUIScale.scale(2)) + left : left; }