-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
PasswordField inner bounds go beyond capslock icon #172
Milestone
Comments
DevCharly
added a commit
that referenced
this issue
Sep 17, 2020
Yes, this looks a little bit weird, but is rare IMHO. Usually password field should be wide enough to avoid vertical scrolling. And releasing Caps Lock fixes the issue 😉 Anyway, I'll fix it when #173 is fixed. Disabling Caps Lock icon is now possible in FlatLaf 0.42 with: UIManager.put( "PasswordField.showCapsLock", false ); |
DevCharly
added a commit
that referenced
this issue
Jul 9, 2021
fixed in main branch |
Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead the bounds should stop right before the capslock icon. As it looks really weird if it goes beyond it.
This would require dynamically changing the bounds and maybe the viewport when capslock is being toggled, as the selection could be where the capslock icon will appear.
EDIT:
Also, is there a way to disable the icon? Setting the UIManager key to
null
didn't appear to work.The text was updated successfully, but these errors were encountered: