Ignore:
Timestamp:
2004-02-18T17:23:12+13:00 (20 years ago)
Author:
kjdon
Message:

removed the fixed sizing from the move up and down buttons so they expand to fit the text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/IndexManager.java

    r6830 r6844  
    556556        move_up_button.setEnabled(false);
    557557        move_up_button.setMnemonic(KeyEvent.VK_U);
    558         move_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
     558        //move_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
    559559        Dictionary.registerBoth(move_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip");
    560560
     
    562562        move_down_button.setEnabled(false);
    563563        move_down_button.setMnemonic(KeyEvent.VK_D);
    564         move_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
     564        //move_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
    565565        Dictionary.registerBoth(move_down_button, "CDM.Move.Move_Down", "CDM.Move.Move_Down_Tooltip");
    566566
     
    940940        move_index_up_button.setEnabled(false);
    941941        move_index_up_button.setMnemonic(KeyEvent.VK_U);
    942         move_index_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
     942        //move_index_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
    943943        Dictionary.registerBoth(move_index_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip");
    944944
     
    946946        move_index_down_button.setEnabled(false);
    947947        move_index_down_button.setMnemonic(KeyEvent.VK_D);
    948         move_index_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
     948        //move_index_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
    949949        Dictionary.registerBoth(move_index_down_button, "CDM.Move.Move_Down", "CDM.Move.Move_Down_Tooltip");
    950950
     
    10741074        move_level_up_button.setEnabled(false);
    10751075        move_level_up_button.setMnemonic(KeyEvent.VK_U);
    1076         move_level_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
     1076        //move_level_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
    10771077        Dictionary.registerBoth(move_level_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip");
    10781078
     
    10801080        move_level_down_button.setEnabled(false);
    10811081        move_level_down_button.setMnemonic(KeyEvent.VK_D);
    1082         move_level_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
     1082        //move_level_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);
    10831083        Dictionary.registerBoth(move_level_down_button, "CDM.Move.Move_Down", "CDM.Move.Move_Down_Tooltip");
    10841084
Note: See TracChangeset for help on using the changeset viewer.