Skip to content
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
merged 2 commits into from May 14, 2016
Merged

Fixes HintTextField Related Issues #284

merged 2 commits into from May 14, 2016

Conversation

RobertBColton
Copy link
Collaborator

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.

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.
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
disabled.
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant