ca9c863b4422bb49521f37b6a29397d03d57f17a
chmalee
Mon Apr 27 13:42:24 2026 -0700
Bump up size of readableWidth for track description pages from 50chars to 70chars. Also make hgTrackUi use the same width for the track descriptions, refs #37430
diff --git src/hg/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c
index 913d52b0cc8..5c161ff32f6 100644
--- src/hg/hgTrackUi/hgTrackUi.c
+++ src/hg/hgTrackUi/hgTrackUi.c
@@ -4056,31 +4056,33 @@
else // Move line down, since
Description (in ->html) is proceded by too much space
printf("
");
printf("
");
puts(""); // include anchor for Description link
// Add pennantIcon
printPennantIconNote(tdb);
char *html = tdb->html;
if (trackDbSetting(tdb, "wgEncode"))
{
// add anchor to Credits section of ENCODE HTML page so lab contacts are easily found (on top menu)
html = replaceChars(tdb->html, "2>Credits", "2>\nCredits");
}
+ puts("");
puts(html);
+ puts(" ");
printf(" | ");
cgiDown(0.7); // positions top link below line
makeTopLink(tdb);
printf(" |
| ");
makeTopLink(tdb);
printf(" |
");
}
} /* void trackUi(struct trackDb *tdb) */
struct trackDb *trackDbForPseudoTrack(char *tableName, char *shortLabel,
char *longLabel, int defaultVis, boolean canPack)
/* Create trackDb for a track without a corresponding table. */
{
struct trackDb *tdb;