7bc17a364b67139d78eed6ea6a589f6d7c9826cc braney Mon May 4 09:18:12 2020 -0700 label width down to 20 diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 103b0b4..972356d 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -227,32 +227,32 @@ char *virtModeType = "default"; /* virtual chrom mode type */ char *lastVirtModeType = "default"; char *virtModeShortDescr = ""; /* short description of virt mode */ char *virtModeExtraState = ""; /* Other settings that affect the virtMode state such as padding or some parameter */ char *lastVirtModeExtraState = ""; struct cart *lastDbPosCart = NULL; /* store settings for use in lastDbPos and hgTracks.js setupHistory */ char *organism; /* Name of organism we're working on. */ char *database; /* Name of database we're using. */ char *chromName; /* Name of chromosome sequence . */ int winStart; /* Start of window in sequence. */ int winEnd; /* End of window in sequence. */ char *position = NULL; /* Name of position. */ int trackTabWidth = 11; -int leftLabelWidthDefaultChars = 23; /* default number of characters allowed for left label */ -int leftLabelWidthChars = 23; /* number of characters allowed for left label */ +int leftLabelWidthDefaultChars = 20; /* default number of characters allowed for left label */ +int leftLabelWidthChars = 20; /* number of characters allowed for left label */ int insideX; /* Start of area to draw track in in pixels. */ int insideWidth; /* Width of area to draw tracks in in pixels. */ int leftLabelX; /* Start of area to draw left labels on. */ int leftLabelWidth; /* Width of area to draw left labels on. */ float basesPerPixel = 0; /* bases covered by a pixel; a measure of zoom */ boolean zoomedToBaseLevel; /* TRUE if zoomed so we can draw bases. */ boolean zoomedToCodonLevel; /* TRUE if zoomed so we can print codons text in genePreds*/ boolean zoomedToCdsColorLevel; /* TRUE if zoomed so we can color each codon*/ boolean withLeftLabels = TRUE; /* Display left labels? */ boolean withIndividualLabels = TRUE; /* print labels on item-by-item basis (false to skip) */ boolean withCenterLabels = TRUE; /* Display center labels? */ boolean withGuidelines = TRUE; /* Display guidelines? */ boolean withNextExonArrows = FALSE; /* Display next exon navigation buttons near center labels? */ boolean withExonNumbers = FALSE; /* Display exon and intron numbers in mouseOver instead of item name */