Plugin side toolbar design tweak

- Added new parameter to navigation buttons: priority.
- Ordered the navigation buttons by their priority and name in PluginToolbar.
- Added a maximum size to the navigation buttons to keep all their sizes
the same.
- Added new icons for the following plugins:
   - Account (login/logout)
   - Grand Exchange
   - Feed
   - Info
   - Kourend Library
   - Notes
   - Screenshot
This commit is contained in:
Ruben Amendoeira
2018-05-02 03:23:54 +01:00
committed by Tomas Slusny
parent 6d331ae5a1
commit 3526b258bb
21 changed files with 24 additions and 3 deletions

View File

@@ -310,6 +310,7 @@ public class SwingUtil
: navigationButton.getIcon();
final JButton button = new JButton();
button.setMaximumSize(new Dimension(30, 30));
button.setName(navigationButton.getName());
button.setToolTipText(navigationButton.getTooltip());
button.setIcon(new ImageIcon(scaledImage));