757272da1a6562f39ef8c5283aed15dbc3af7657 kate Tue Jun 15 09:53:12 2021 -0700 Preserve left label region width. refs #27688 diff --git src/hg/hgTracks/recTrackSets.c src/hg/hgTracks/recTrackSets.c index 6a16345..cb84237 100644 --- src/hg/hgTracks/recTrackSets.c +++ src/hg/hgTracks/recTrackSets.c @@ -130,37 +130,38 @@ jsInline("var recTrackSetsDetectChanges = true;"); hPrintf("<div style='display:none;' id='recTrackSetsPopup' title='Recommended Track Sets'>\n"); // TODO: Consider moving this to the tab file as a header section hPrintf("<p>These links provide track sets selected and pre-configured for " "specific user scenarios. They are designed to be useful at " "different genomic loci. Clicking a link below will create a browser " "window with these tracks visible, without changing the locus.</p>"); hPrintf("<ul class='indent'>"); for (recTrackSet = recTrackSets; recTrackSet != NULL; recTrackSet = recTrackSet->next) { // TODO: consider libifying hgSession.c:add/getSessionLink() and using that hPrintf("<li><a class='recTrackSetLink' href='./hgTracks?" - "pix=%d&textSize=%s&textFont=%s" // preserve these user settings + // preserve these user settings + "pix=%d&textSize=%s&textFont=%s&hgt.labelWidth=%d" "&" hgsOtherUserName "=%s" "&" hgsOtherUserSessionName "=%s" "&" hgsOtherUserSessionLabel "=%s" "&hgS_otherUserSessionDesc=%s" "&" hgsDoOtherUser "=submit" "&position=" // JS fills in position "'>" "%s</a>: <small>%s</small></li>", - tl.picWidth, tl.textSize, tl.textFont, + tl.picWidth, tl.textSize, tl.textFont, tl.leftLabelWidthChars, recTrackSet->userName, recTrackSet->sessionName, recTrackSet->label, recTrackSet->description, recTrackSet->label, recTrackSet->description); } hPrintf("</ul>"); hPrintf("<p>Return to <a href='./hgTracks?hgt.reset=on'>Default</a> browser tracks.</p>\n"); hPrintf("<p><small><em>This tool is for research use only. For personal medical or " "genetic advising, consult a qualified physician.</small></em></p>\n"); hPrintf("</div>\n"); }