Changeset 12110


Ignore:
Timestamp:
2006-07-07T16:23:42+12:00 (18 years ago)
Author:
mdewsnip
Message:

Tidied up the borders around the macros textarea.

File:
1 edited

Legend:

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

    r12108 r12110  
    111111        Dictionary.registerTooltip(macros_textarea, "CDM.MacrosManager.Editor_Tooltip");
    112112
    113         JScrollPane macros_scroll = new JScrollPane(macros_textarea);
    114        
     113        JPanel macros_pane = new JPanel();
     114        macros_pane.setBorder(BorderFactory.createEmptyBorder(5,0,5,0));
     115        macros_pane.setLayout(new BorderLayout());
     116        macros_pane.add(new JScrollPane(macros_textarea), BorderLayout.CENTER);
     117
    115118        save_button = new GLIButton();
    116119        Dictionary.registerBoth(save_button, "CDM.MacrosManager.Save", "CDM.MacrosManager.Save_Tooltip");
     
    125128        button_pane.add(revert_button);
    126129
    127         main_pane.add(macros_scroll, BorderLayout.CENTER);
     130        main_pane.add(macros_pane, BorderLayout.CENTER);
    128131        main_pane.add(button_pane, BorderLayout.SOUTH);
    129132
     
    132135        add(header_pane, BorderLayout.NORTH);
    133136        add(main_pane, BorderLayout.CENTER);
    134 
    135        
    136        
    137        
    138     }
     137    }
     138
    139139    public void destroy() {
    140 
    141     }
     140    }
     141
    142142    public void loseFocus() {
    143143    }
Note: See TracChangeset for help on using the changeset viewer.