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

[meshcat] Provide better handling for truncated labels in control panel #18542

Closed
trowell-tri opened this issue Jan 5, 2023 · 3 comments · Fixed by #20000
Closed

[meshcat] Provide better handling for truncated labels in control panel #18542

trowell-tri opened this issue Jan 5, 2023 · 3 comments · Fixed by #20000
Assignees
Labels
component: geometry illustration What and how geometry gets communicated to external visualizers priority: low type: feature request

Comments

@trowell-tri
Copy link
Contributor

Long label text in the Meshcat control panel gets truncated, leaving users with no way to differentiate some labels. This has been noticed in slider labels but might also become an issue with buttons and the scene tree.

A simple solution would be to add hover text with the full label, either just for labels that are too wide or for all labels.

@jwnimmer-tri jwnimmer-tri added the component: geometry illustration What and how geometry gets communicated to external visualizers label Jan 5, 2023
@trowell-tri
Copy link
Contributor Author

See RussTedrake/manipulation#151 for a related issue.

@jwnimmer-tri jwnimmer-tri added this to Backlog (80%) in #dynamics-dev Jan 24, 2023
@jwnimmer-tri jwnimmer-tri moved this from Backlog (80%) to To Do in #dynamics-dev Jan 24, 2023
@jwnimmer-tri jwnimmer-tri moved this from To Do to In Progress in #dynamics-dev Jun 5, 2023
@pathammer
Copy link
Contributor

BTW there is a dat gui parameter named resizable that makes it so when you click and drag on the "open/close controls button" you resize the width of the tool. Worth trying this option in addition to hover tooltips 👍

relevant line of code: https://github.com/dataarts/dat.gui/blob/19c4725d03456ce5049e7131907fc0470326d5ae/src/dat/gui/GUI.js#L148C5-L148C14

@trowell-tri
Copy link
Contributor Author

Thank you, I'm going to give that a try!

#dynamics-dev automation moved this from In Progress to Done Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: geometry illustration What and how geometry gets communicated to external visualizers priority: low type: feature request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants