-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove textArea border in MultiLineComboBoxEditor #7799
Conversation
awesome, thanks for the fix! @DJ-Raven could you update the commit author to your full name like in your last PR?
and simply force push |
beaaaf6
to
9109d09
Compare
@mbien already push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this fix; looks good!
Perhaps quickly check that it also works on the Windows LAF as well (though any problems would be purely cosmetic).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't think the alignment problems in older LAFs are due to this patch; I saw them when trying Nimbus without the patch, for instance. (In any case I don't think much effort needs to be spent on the older LAFs at this point; they just served as a useful "test case" for the patch.) |
Merged it--thanks again for the patch! |
Thank @mbien @eirikbakke for review. |
yes, this is not what I meant. This dialog is somewhat special since it uses the old grid bag layout which doesn't implement text baseline alignment for neighboring components if i remember correctly. Two combo boxes are also multi line fields with dynamic height - so this is to be expected that it won't look nice on all LAFs. (I remember starring at the dialog a while while doing #3393) What i meant was that the GTK laf specifically looks inconsistent everywhere else too. Toolbar icons have the wrong size and every combo box looks different. I set I am wondering if we should filter it out from the LAF list? I guess users could still use the flag to force it. |
Perhaps? Or otherwise advertise that we really recommend FlatLAF over the other ones. The main reason to keep the older LAFs around is that it's useful to have each of the basic Java LAFs available in the list for people who are developing Swing apps and would like to see what each one of them looks like in the context of the full IDE. It's also useful during NetBeans IDE development, to test Swing code changes with different LAFs to make sure the code does not make accidental assumptions about specific LAF implementation details.
I think we used to have that setting as default in NetBeans, until https://issues.apache.org/jira/browse/NETBEANS-5862 removed it. Maybe certain issues appeared to have been fixed in the JDK, but others were not. |
This PR update the UI. by removed textArea border in
MultiLineComboBoxEditor
classThis
MultiLineComboBoxEditor
use in:Ctrl+F
Ctrl+H
After changed
Preview with flatlaf light laf
Preview with flatlaf light cupertino (multi line search)
Please review, Thank you