Ignore:
Timestamp:
2017-06-08T23:07:31+02:00 (7 years ago)
Author:
michael2402
Message:

Apply #14840: Fix alignment in search dialog. Patch by bafonins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r12344 r12345  
    290290        JPanel selectionSettings = new JPanel(new GridBagLayout());
    291291        selectionSettings.setBorder(BorderFactory.createTitledBorder(tr("Selection settings")));
    292         selectionSettings.add(replace, GBC.eol());
     292        selectionSettings.add(replace, GBC.eol().anchor(GBC.WEST).fill(GBC.HORIZONTAL));
    293293        selectionSettings.add(add, GBC.eol());
    294294        selectionSettings.add(remove, GBC.eol());
     
    297297        JPanel additionalSettings = new JPanel(new GridBagLayout());
    298298        additionalSettings.setBorder(BorderFactory.createTitledBorder(tr("Additional settings")));
    299         additionalSettings.add(caseSensitive, GBC.eol());
     299        additionalSettings.add(caseSensitive, GBC.eol().anchor(GBC.WEST).fill(GBC.HORIZONTAL));
    300300
    301301        if (Main.pref.getBoolean("expert", false)) {
     
    305305            JPanel searchOptions = new JPanel(new GridBagLayout());
    306306            searchOptions.setBorder(BorderFactory.createTitledBorder(tr("Search syntax")));
    307             searchOptions.add(standardSearch, GBC.eol());
     307            searchOptions.add(standardSearch, GBC.eol().anchor(GBC.WEST).fill(GBC.HORIZONTAL));
    308308            searchOptions.add(regexSearch, GBC.eol());
    309309            searchOptions.add(mapCSSSearch, GBC.eol());
Note: See TracChangeset for help on using the changeset viewer.