[Feature]: Make font size of object/token hover notes configurable
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
Research direction
Start in src/main/java/net/rptools/maptool/client/swing/HTMLPanelRenderer.java and trace how PointerTool.java uses the renderer for object notes. Then find how preferences for tokens or themes are defined and applied. Done means users can adjust note font size independently of other UI fonts; the issue does not name a test, so identify relevant coverage while tracing the preference flow.
Written by the indexing model from the issue text.
Description
Describe the Problem
The font size of notes displayed when clicking objects on the Object Layer is currently fixed. There is no separate preference to adjust it.
Changing the global theme font size also affects menus, dialogs, and other UI elements, making this an unsuitable workaround.
The Solution you'd like
Add a separate font size preference for object/token hover notes, allowing users to adjust the size without changing other UI fonts.
Alternatives that you've considered.
No response
Additional Context
MapTool version: 1.18.7
The relevant code appears to be in:
src/main/java/net/rptools/maptool/client/swing/HTMLPanelRenderer.java
The default font size is defined as:
styleSheet.addRule("body { color: black; font-family: sans-serif; font-size: 11pt}");
The renderer is used by PointerTool.java to display object notes.
A configurable font size (e.g., under Preferences → Tokens or Theme) would improve readability and usability, particularly for object notes containing longer descriptions.
- Dominant language
- Java
- Stars
- 927
- Forks
- 286
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 94
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RPTools/maptool
-
[Bug]: An initiative list with no current entry logs an error on every changePossibly taken @dwizard0 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
[Maintenance]: Migrate gradle dependency submission to modern alternativePossibly taken @VelpulaGangavardhan claimed this 18 days ago. Opencode-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
RPTools/maptool#6156 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
code-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
Similar issues
-
Cleanup: restore the interrupt flag in AiFailureAnalyzerPossibly taken @Rishankgupta08 claimed this today. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
seleniumboot/selenium-boot#258 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
johanhaleby/occurrent#1505 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
FasterXML/jackson-databind#6443 ·
Maintainers usually reply within 1 day
-
Docs: 2 broken linksOpen
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day