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

Fixes HintTextField Related Issues #284

merged 2 commits into from May 14, 2016


None yet
1 participant

RobertBColton commented May 14, 2016

There were problems with clipping and where the location of where the input hint was being drawn. I tested all look and feels and also tested on Ubuntu with Java 8 and this seems to address all of the issues.

RobertBColton added some commits May 14, 2016

Fixes HintTextField clipping
The clipping bounds of the graphics object are affected by the drop down
menu's. Using them to clip the input hint caused the menu bar to clip the
text off. It seems that the component itself uses its own bounds for
clipping in the look and feel code, so I did it that way. It appears to
have resolved the issue with the web look and feel.
Fix HintTextField text location
It should use the baseline of the font like the default look and feel
does. I tested all look and feels and examined before and after in
Paint.NET. The input hint is now drawn in the proper location. I also
corrected the behavior of hide on focus, so the feature can be properly

@RobertBColton RobertBColton merged commit 60cc56d into IsmAvatar:master May 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment