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

scripts: Use workPanels font in output panel #4886

Closed
wants to merge 1 commit into from

Conversation

kingthorin
Copy link
Member

Overview

  • CHANGELOG > Add change note.
  • ConsolePanel > Don't set font.
  • OutputPanel > Use workPanels font.

Related Issues

Related to zaproxy/zaproxy#8065

Checklist

  • Update help - N/A
  • Update changelog
  • Run ./gradlew spotlessApply for code formatting
  • Write tests - N/A
  • Check code coverage - N/A
  • Sign-off commits
  • Squash commits
  • Use a descriptive title

- CHANGELOG > Add change note.
- ConsolePanel > Don't set font.
- OutputPanel > Use workPanels font.

Signed-off-by: kingthorin <[email protected]>
@@ -216,7 +215,6 @@ private javax.swing.JToolBar getPanelToolbar() {
panelToolbar.setFloatable(false);
panelToolbar.setRollover(true);
panelToolbar.setPreferredSize(new java.awt.Dimension(800, 30));
panelToolbar.setFont(FontUtils.getFont("Dialog"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are removing here we should remove from scroll pane as well.

@thc202
Copy link
Member

thc202 commented Sep 15, 2023

I don't mind this change but this is again another place I think we should have a specific font, having monospaced font by default would make it easier to read the output.

@kingthorin
Copy link
Member Author

Okay I don't mind closing this. I was going for something quick in light of my original understanding of the issue. I think you're right that having more specific options is probably better. We should pick-up the discussion in the issue.

@kingthorin kingthorin closed this Sep 15, 2023
@kingthorin kingthorin deleted the scripts-font1 branch September 15, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants