Changeset 2498


Ignore:
Timestamp:
03/22/07 12:33:17 (13 years ago)
Author:
curtis
Message:

Fix image window downsizing bug.

File:
1 edited

Legend:

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

    r2012 r2498  
    210210 
    211211  public Dimension getPreferredSize() { 
    212     return new Dimension(scroll.getWidth(),COMPONENT_HEIGHT); 
     212    return new Dimension(scroll.getPreferredSize().width, COMPONENT_HEIGHT); 
     213  } 
     214 
     215  public Dimension getMinimumSize() { 
     216    return new Dimension(scroll.getMinimumSize().width, COMPONENT_HEIGHT); 
     217  } 
     218 
     219  public Dimension getMaximumSize() { 
     220    return new Dimension(scroll.getMaximumSize().width, COMPONENT_HEIGHT); 
    213221  } 
    214222 
Note: See TracChangeset for help on using the changeset viewer.