Changeset 1428


Ignore:
Timestamp:
09/06/06 16:14:15 (14 years ago)
Author:
chris
Message:

CustomWindow:
1) Commented out wierd array manipulation that's totally
unecessary.
2) Fixed the irksome slider size bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/browser/CustomWindow.java

    r1425 r1428  
    140140    gbc.gridx = 1; 
    141141    gbc.gridy = 0; 
    142     gbc.gridwidth = 5; 
     142    if (db.numC > 2) gbc.gridwidth = 5; 
     143    else gbc.gridwidth = 6; 
    143144    gbc.fill = GridBagConstraints.HORIZONTAL; 
    144145    gbc.weightx = 1.0; 
     
    547548   */ 
    548549  public synchronized void setIndices(int[] idx) { 
     550/* 
    549551    // log usage 
    550552    if (LociDataBrowser.DEBUG) { 
     
    562564      } 
    563565    } 
     566*/ 
    564567  } 
    565568 
    566569  public synchronized void setIndices() { 
     570/* 
    567571    boolean swapped = zString.equals(T_STRING) || !db.hasT; 
    568572    if (swapped) {  // animate top scrolling bar 
     
    578582      } 
    579583    } 
     584*/ 
    580585  } 
    581586 
Note: See TracChangeset for help on using the changeset viewer.