Control indentation of nested projects by UIManager properties - #9627
Conversation
c5e2b01 to
9f6fb94
Compare
neilcsmith-net
left a comment
There was a problem hiding this comment.
Thanks! Looks good on reading. Not tested yet. Probably needs squashing before merge.
Handles my concerns about customization / disabling the display. I still think the node prefixing approach is flawed against filtering the hierarchy, but if everyone else is on the board with the current approach then this is good to go.
Please don't merge this until @mbien has followed up here or on the sorting review though, just in case that gets complicated in master.
I'm tempted to say, yes too much, except that pipeline example does look quite nice! I'm curious where the |
likely. Something seems to equate "" with null during parsing. Plain old properties don't do that usually.
yeah I like that one too. The reason I experimented with this is because it looked like the symbol+space pattern appears to be fairly limiting in what symbols you can use. Sometimes you want to repeat a symbol and postfix a space, other times you want to repeat the space and add a symbol at the end - or use different symbols like in that pipeline. |
Yes, I know. I was surprised reading that as I thought that was how we'd tell people to switch it off. Still, as long as we know, we can explain. At a guess it's due to the code at https://github.com/JFormDesigner/FlatLaf/blob/e735c4898e6772c734229c688976faceab1bdfc8/flatlaf-core/src/main/java/com/formdev/flatlaf/UIDefaultsLoader.java#L461 Makes sense given the values are typed I suppose, or maybe intended to allow override removal. |
|
Yeah, the pipeline symbol looks pretty nice:
I don't mind changing the algorithm to use |
mbien
left a comment
There was a problem hiding this comment.
code looks good to me and it works. Maybe wait a little more before integration since the impl changed after PR was already approved to give a chance for replies.
(+ don't forget to squash)
Yeah, that's a good idea. Re-requested @neilcsmith-net and @MartinBalin reviews.
I'll do my best to not forget about it. Or should I optimistically pre-squash before getting the new round of reviews? Squashed into 5b05d8f |
sure, feel free to do that. There is also the pre-integration checklist on the default PR template with 4 checkboxes to press before merge but few are using it (which is fine). |
bb682d9 to
5b05d8f
Compare
|
Squashed. Ready to merge. Can I merge, @neilcsmith-net? |
neilcsmith-net
left a comment
There was a problem hiding this comment.
Still looks good to me. Bit more complex, but @mbien example showed the value of it. Slight nitpick on the docs.
| </p> | ||
| <p> | ||
| There is a support for indenting nested projects since | ||
| <a href="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/apache/netbeans/pull/9627">PR-9627</a> which can be controlled by two <code>UIManager</code> |
There was a problem hiding this comment.
Nit : there was one, then three, never two! 😄
5b05d8f to
79df714
Compare







UIManager(one new and one shared with other modules) to allow L&F customization or ...