3bdd753973190ec7e64d85a90ab912b9a7c37489 angie Fri Sep 4 13:45:27 2020 -0700 Move leftLabelWidth parameters out of hgTracks global variables into trackLayout lib (for use by hgPhyloPlace). refs #25943 diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index 644a53a..3c3a62f 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -495,31 +495,31 @@ cartSaveSession(cart); hPrintf("<INPUT TYPE=HIDDEN NAME=\"hgTracksConfigPage\" VALUE=\"\">"); /* do not want all the submit buttons named the same thing, this one is: */ cgiMakeButton("topSubmit", "submit"); // 3 column table hPrintf("<TABLE style=\"border:0px; \">\n"); hPrintf("<TR><TD>image width:"); hPrintf("<TD style=\"text-align: right\">"); hIntVar("pix", tl.picWidth, 4); hPrintf("<TD>pixels</TR>"); hPrintf("<TR><TD>label area width:"); hPrintf("<TD style=\"text-align: right\">"); -hIntVar("hgt.labelWidth", leftLabelWidthChars, 2); +hIntVar(leftLabelWidthVar, tl.leftLabelWidthChars, 2); hPrintf("<TD>characters<TD></TR>"); hPrintf("<TR><TD>text size:"); hPrintf("<TD style=\"text-align: right\">"); textSizeDropDown(); hPrintf("</TD>"); if (trackLayoutInclFontExtras()) { hPrintf("<TD>"); char *defaultStyle = cartUsualString(cart, "fontType", "medium"); cartMakeRadioButton(cart, "fontType", "medium", defaultStyle); hPrintf(" medium "); cartMakeRadioButton(cart, "fontType", "fixed", defaultStyle); hPrintf(" fixed "); cartMakeRadioButton(cart, "fontType", "bold", defaultStyle);