elsiklab / multibigwig

A JBrowse plugin for plotting multiple bigwig subtracks
12 stars 2 forks source link

Fix label width #4

Closed carrere closed 8 years ago

carrere commented 8 years ago

Instead of adjust to label string

cmdcolin commented 8 years ago

Do you have a screenshot of how that looks? Curious about it

carrere commented 8 years ago

Here is an example:

multibigwiglabels

carrere commented 8 years ago

Moreover, on this example, the first label is masked by the track title, but this is a Jbrowse side problem

cmdcolin commented 8 years ago

The label being masked by the track title is perpetually awkward but I added a new config item labelWidth that can configure a label width to be applied to all the subtracks.

cmdcolin commented 8 years ago

Lemme know if there is any feedback! Close for now

carrere commented 8 years ago

That works perfectly ! Thank you Colin !

keiranmraine commented 8 years ago

You can negate the track title issue with the plugin HideTrackLabels, see: https://github.com/GMOD/jbrowse/issues/704#issuecomment-200296921

I've not used it but I understand it to be a toggle option.

carrere commented 8 years ago

You're right Keiran, this is what I do to bypass this issue.

cmdcolin commented 8 years ago

Glad that helps! If there was interest, I could have an option to render all the content lower than the tracklabel too, but otherwise I'll just keep it as is :)