jtulach commented on code in PR #9602:
URL: https://github.com/apache/netbeans/pull/9602#discussion_r3948265865
##########
platform/openide.explorer/src/org/openide/explorer/view/NodeRenderer.java:
##########
@@ -135,7 +137,9 @@ public Component getTreeCellRendererComponent(
//Do our additional configuration - set up the icon and possibly
//do some hacks to make it look focused for TreeTableView
- configureFrom(renderer, tree, expanded, sel, vis);
+ int iconWidth = configureFrom(renderer, tree, expanded, sel, vis);
+
+ renderer.setIndent(iconWidth * findIndent(tree.getModel(), vis));
Review Comment:
- The current indentation via `findIndent` was done by following two commits:
- 2130f7fac27e2d37b9e467f070f62d76c0cef80c
- and 0a28da065342850d0d9e0db65883fdb8501122a8
- it looks like this:
<img width="539" height="1013" alt="Maven 4 Projects with Indentation"
src="https://github.com/user-attachments/assets/fbceb509-0b75-4029-bfb8-e47f01da4f0a"
/>
- I am going to strip these two commits off and start again...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists