Ignore:
Timestamp:
2011-01-25T16:36:56+01:00 (13 years ago)
Author:
bastiK
Message:

visual rework + new reload button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java

    r3797 r3816  
    219219        gbc.insets = new Insets(0, 11, 0, 0);
    220220
    221         JToolBar bottomLeftTB = new JToolBar(JToolBar.VERTICAL);
     221        JToolBar bottomLeftTB = new JToolBar();
    222222        bottomLeftTB.setFloatable(false);
    223223        bottomLeftTB.setBorderPainted(false);
    224224        bottomLeftTB.setOpaque(false);
    225225        bottomLeftTB.add(new ReloadSourcesAction(availableSourcesUrl));
    226         middleTB.add(Box.createHorizontalGlue());
     226        bottomLeftTB.add(Box.createHorizontalGlue());
    227227        add(bottomLeftTB, gbc);
    228228
     
    757757        public ActivateSourcesAction() {
    758758            putValue(SHORT_DESCRIPTION, getStr(I18nString.ACTIVATE_TOOLTIP));
    759             putValue(SMALL_ICON, ImageProvider.get("preferences", "activatestyle"));
     759            putValue(SMALL_ICON, ImageProvider.get("preferences", "activate-right"));
    760760            updateEnabledState();
    761761        }
     
    793793            putValue(NAME, tr("Reload"));
    794794            putValue(SHORT_DESCRIPTION, tr(getStr(I18nString.RELOAD_ALL_AVAILABLE), url));
    795             putValue(SMALL_ICON, ImageProvider.get("dialogs/refresh"));
     795            putValue(SMALL_ICON, ImageProvider.get("dialogs", "refresh"));
    796796            this.url = url;
    797797        }
Note: See TracChangeset for help on using the changeset viewer.