Adjusting height of view based on the features #1993
Unanswered
tchannagiri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi again devs,
I am trying to adjust the size of the view programmatically based on the size of the features present so that there is not too much excess. One way I have found is to look at 'genomeView.view.tracks[2].displays[0].layoutFeatures' to find the min/max y values and adjust the height accordingly. I considered making the resize code in the 'onchange' callback of 'genomeView' but it seems that 'onchange' is called when the change is initiated not when it is compete. So my question is:
Thanks!
Best,
TJ
Beta Was this translation helpful? Give feedback.
All reactions