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

Maven HintsPanel UI layout fixes and minor cleanup. #4906

Merged
merged 2 commits into from
Nov 8, 2022

Conversation

mbien
Copy link
Member

@mbien mbien commented Nov 2, 2022

  • analog to Hint/Inspection panel and dialog layout fixes #3472, this fixes UI component resize behavior of the Maven and CSL HintsPanel
  • description panel is now filling the space vertically like in the java version of this panel. Text is now wrapping properly.
  • the option panels had to be adjusted to prefer their minimum default size
  • minor language cleanup: diamonds, lambdas

targets delivery. But this is fairly low priority. Noticed those UI issues while writing the maven release version hint.

hints-before

hints-after

 - analog to apache#3472, this fixes UI component resize behavior
 - description panel is now filling the space vertically like in the
   java version of this panel. Text is now wrapping properly.
 - the option panels had to be adjusted to prefer their minimum default
   size
 - minor language cleanup: diamonds, lambdas
@mbien mbien added Code cleanup Maven [ci] enable "build tools" tests UI User Interface labels Nov 2, 2022
@mbien mbien added this to the NB16 milestone Nov 2, 2022
@sdedic
Copy link
Member

sdedic commented Nov 3, 2022

Just to be sure I've not overlooked anything: no functional change, just layout & cleanup anonymous -> lambda ?

@mbien
Copy link
Member Author

mbien commented Nov 3, 2022

Just to be sure I've not overlooked anything: no functional change, just layout & cleanup anonymous -> lambda ?

right. this is primarily about UI layouts. The lamda cleanup is just a cleanup, no logic changed there.

 - analog to apache#3472, this fixes UI component resize behavior
 - updated all other HintsPanels to have the same initial divider pos
 - minor cleanup like lambdas and diamonds
@mbien
Copy link
Member Author

mbien commented Nov 8, 2022

added another commit for the CSL HintsPanel. All three panels have now been updated. They have the same initial divider locations and look and behave just as if they would be the same component.

@neilcsmith-net
Copy link
Member

Weird thing is the issue isn't reproducible with a clean userdir until the options window is resized.

Makes sense, and as we're having another rc, let's merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code cleanup Maven [ci] enable "build tools" tests UI User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants