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

Roassal Label Text does not scale with Zoom Out #829

Closed
seandenigris opened this issue Aug 3, 2015 · 4 comments
Closed

Roassal Label Text does not scale with Zoom Out #829

seandenigris opened this issue Aug 3, 2015 · 4 comments

Comments

@seandenigris
Copy link
Contributor

Originally reported on Google Code with ID 829

Actions
1. Open Roassal Easel > Example > #arrowed edges > umlLike
2. Click the <Zoom out> button multiple times

Expected Behaviour
Text gets smaller so as to stay within the border as the label box gets smaller. 

Observed Behaviour
Only the border of the label gets smaller. The text gets the same size until it all
overlaps. 

Reported by benjamin.t.coman on 2012-08-20 12:35:38

@seandenigris
Copy link
Contributor Author

Also, try this code....
    view shape label. 
    view nodes: (ROShape withAllSubclasses). 
    view shape: (ROOrthoHorizontalLineShape new add: (ROReversedHorizontalArrow new offset:
1 )).
    view edgesFrom: #superclass.
    view horizontalTreeLayout. 

...and <Zoom in>

Expected Behaviour
The point of the arrows stay attached to vertical centre of the last letter of the
label.

Observed Behaviour
A big gap arises between the arrow and the label. 
The label text becomes offset vertically away from the arrow attachPoint.

Reported by benjamin.t.coman on 2012-08-20 12:42:21

@seandenigris
Copy link
Contributor Author

I will work on it on some point. The problem is that the font support in Pharo is not
the best....

Reported by alexandre.bergel on 2012-08-20 13:05:56

@seandenigris
Copy link
Contributor Author

This is basically working with Athens. I think we should close the issue.

Reported by tudor@tudorgirba.com on 2013-05-31 05:29:15

@seandenigris
Copy link
Contributor Author

Reported by tudor@tudorgirba.com on 2013-06-23 05:21:26

  • Status changed: Fixed
  • Labels added: Milestone-4.8, Component-Roassal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant