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

Autolayout overwrites dimension width/heights. #15

Open
luciansmith opened this issue Nov 25, 2024 · 0 comments
Open

Autolayout overwrites dimension width/heights. #15

luciansmith opened this issue Nov 25, 2024 · 0 comments

Comments

@luciansmith
Copy link

If I set the dimension width or height, then call autolayout, those values are overwritten.

          LIBSBMLNETWORK_CPP_NAMESPACE::setDimensionWidth(&m_sbml, 1234.0);
          width = LIBSBMLNETWORK_CPP_NAMESPACE::getDimensionWidth(&m_sbml);
          LIBSBMLNETWORK_CPP_NAMESPACE::autolayout(&m_sbml, m_autolayout.maxNumConnectedEdges, m_autolayout.useNameAsTextLabel);
          width = LIBSBMLNETWORK_CPP_NAMESPACE::getDimensionWidth(&m_sbml);

After being set, width is indeed 1234. Then after the autolayout call, it's been changed (2119.6, in one example).

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