e9613abf0343d28fef3319619d86ae882f0c85d2 braney Wed Apr 24 11:11:33 2019 -0700 bigLolly window has to be at least 32 pixels high diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 7732f74..7396729 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -4189,31 +4189,33 @@ cartPriorities = TRUE; } } slSort(tdbRefList, trackDbRefCmp); return cartPriorities; } void lollyCfgUi(char *db, struct cart *cart, struct trackDb *tdb, char *name, char *title, boolean boxed) /* UI for the wiggle track */ { int maxHeightPixels; int minHeightPixels; char option[256]; int defaultHeight; /* pixels per item */ int settingsDefault; -cartTdbFetchMinMaxPixels(cart, tdb, MIN_HEIGHT_PER, atoi(DEFAULT_HEIGHT_PER), atoi(DEFAULT_HEIGHT_PER), + +#define MIN_HEIGHT_LOLLY 32 +cartTdbFetchMinMaxPixels(cart, tdb, MIN_HEIGHT_LOLLY, atoi(DEFAULT_HEIGHT_PER), atoi(DEFAULT_HEIGHT_PER), &minHeightPixels, &maxHeightPixels, &settingsDefault, &defaultHeight); boxed = cfgBeginBoxAndTitle(tdb, boxed, title); printf("<TABLE BORDER=0>"); printf("<TR valign=center><th align=right>Track height:</th><td align=left colspan=3>"); safef(option, sizeof(option), "%s.%s", name, HEIGHTPER ); cgiMakeIntVarWithLimits(option, defaultHeight, "Track height",0, minHeightPixels, maxHeightPixels); printf("pixels (range: %d to %d)", minHeightPixels, maxHeightPixels); char *autoScale; wigFetchAutoScaleWithCart(cart,tdb,name, &autoScale); printf("<TR valign=center><th align=right>Data view scaling:</th><td align=left colspan=3>");