Opened 10 years ago
Closed 10 years ago
#306 closed defect (fixed)
2D labels (title) text aspect ratio and size slaved to that of graphics window
Reported by: | Elaine Meng | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Depiction | Version: | |
Keywords: | Cc: | Eric Pettersen | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The aspect ratio of 2D labels (title) text depends on the aspect ratio of the graphics window, and if the graphics window is resized, both the size and aspect ratio of the text also change accordingly.
For example, if I have a long horizontally oriented window, the 2D labels look squashed, and I can't make them look normal unless I make the window squarish.
Resizing with the window might even be a feature (maybe as an option?) but the aspect ratio enslavement definitely seems like a bug. There are other things it would be good to improve about the command (e.g. allowing * or "all" or something like that to mean all the labels, fading in/out), but this is the most buglike current behavior.
I probably categorized this incorrectly, feel free to change.
Fixed.
Labels now maintain their size and aspect ratio and have correct initial aspect ratio.
Did not add "all" or "*" for specifying all labels. Suggest making a separate ticket for that. There are many other issues with the 2dlabel command (like listing available fonts). I'd like to change the syntax to avoid the cumbersome create/change being two separate commands as this makes movie scripts messier.