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

center process label #3

Closed
forresto opened this issue Oct 10, 2013 · 5 comments
Closed

center process label #3

forresto opened this issue Oct 10, 2013 · 5 comments

Comments

@forresto
Copy link
Collaborator

<the-graph-process>
  <h1 class="the-graph-process-label">makeMinuteRotation</h1>
</the-graph-process>

Pretty basic, but impossible with css unless they all have a certain width.

@forresto
Copy link
Collaborator Author

ccss

  .the-graph-process-label[left] == [node-width]/2 - .the-graph-process-label[intrinsic-width]/2;

works. We'll have to see how to recalculate GSS stuff when the graph zooms or labels change.

forresto added a commit that referenced this issue Oct 10, 2013
@forresto
Copy link
Collaborator Author

@d4tocchini why does this rule in gss zero out the label margin?

forresto added a commit that referenced this issue Oct 10, 2013
@bergie
Copy link
Member

bergie commented Oct 15, 2013

We now have zoom available in GSS space, though unfortunately this still causes issues.

@forresto
Copy link
Collaborator Author

was working, now waiting on gss api changes

bergie added a commit that referenced this issue Nov 20, 2013
@bergie
Copy link
Member

bergie commented Nov 20, 2013

OK, now GSS computes the correct values, but there seems to be some issue in actually writing to DOM. Will try to debug with @d4tocchini today

@bergie bergie closed this as completed in 802893c Nov 20, 2013
forresto added a commit that referenced this issue Nov 20, 2013
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

2 participants