37d86875972ee730a1bb34aece6720a27ab507be
kate
  Tue Feb 2 15:44:40 2016 -0800
Cosmetics on GTEx Gene trackUI page, with special effort to fit tissue table in popup dialog without scrolling.

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 0e5dce2..13bcb00 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -3438,44 +3438,44 @@
         //   Since there are many possible popup cfg dialogs, the ready should be all inclusive.
 
         if ( ! popUp.trackDescriptionOnly ) {
             // If subtrack then vis rules differ
             var subtrack = tdbIsSubtrack(hgTracks.trackDb[popUp.trackName]) ? popUp.trackName :"";  
             // Saves the original vars (and vals) that may get changed by the popup cfg.
             popUp.saveAllVars = getAllVars( $('#hgTrackUiDialog'), subtrack ); 
 
             // -- popup.ready() -- Here is the place to do things that might otherwise go
             //                     into a $('#pop').ready() routine!
         }
 
         // Searching for some semblance of size suitability
         var popMaxHeight = ($(window).height() - 40);
         var popMaxWidth  = ($(window).width() - 40);
-        var popWidth     = 740;
+        var popWidth     = 640;
         if (popWidth > popMaxWidth)
             popWidth = popMaxWidth;
 
         $('#hgTrackUiDialog').dialog({
             ajaxOptions: {
                 // This doesn't work
                 cache: true
             },
             resizable: true,               // Let description scroll vertically
             height: (popUp.trackDescriptionOnly ? popMaxHeight : 'auto'),
             width: popWidth,
             minHeight: 200,
-            minWidth: 700,
+            minWidth: 400,
             maxHeight: popMaxHeight,
             maxWidth: popMaxWidth,
             modal: true,
             closeOnEscape: true,
             autoOpen: false,
             buttons: { "OK": function() {
                     if ( ! popUp.trackDescriptionOnly )
                         popUp.uiDialogOk($('#pop'), popUp.trackName);
                     $(this).dialog("close");
             }},
             // popup.ready() doesn't seem to work in open.
             
             open: function () {
                 if ( ! popUp.trackDescriptionOnly ) {
                     $('#hgTrackUiDialog').find('.filterBy,.filterComp').each(