dalliance
dalliance copied to clipboard
Track name overlapping data
When data is at the very start of the track it is overlapped by the track label/name. An option to indent the track so it starts just to the right of the track label would be very useful for this situation.
A temp fix for us was to add an option to set: left: 95px; on the class: *.dalliance .view-holder
This was a deliberate design decision to try and conserve screen space. Pre-canvas versions of Dalliance (0.7 and earlier) did put labels in a separate column, but we ran into problems because we either had to devote a lot of space to the labels, or trim long track names (which are needed in some contexts -- ENCODE track names are generally quote long, but are mostly meaningful).
But having an option is probably a good idea!
Is there a way to not show names? Setting <LABEL>no</LABEL> in the stylesheet doesn't have any effect
@moritzschaefer: the LABEL
property in the DAS stylesheet is for controlling the labelling of individual features, not tracks.
If you are talking about the track labels, have you tried something like wookoouk's proposed solution (in CSS)?
There is one "unofficial" option you could try: noDefaultLabels: true
in the top level configuration. This is only really intended for "ultra-minimalist" applications, though -- without the track labels it's no longer possible to, e.g., re-order tracks.
Are you able to share a bit more information about your use-case?