Restore Plugin Toolbar Button Tooltips (#2833)
* Always set button tooltips * Completely remove name property and replace it with tooltips * Make tooltips final
This commit is contained in:
@@ -311,7 +311,6 @@ public class SwingUtil
|
||||
|
||||
final JButton button = new JButton();
|
||||
button.setMaximumSize(new Dimension(30, 30));
|
||||
button.setName(navigationButton.getName());
|
||||
button.setToolTipText(navigationButton.getTooltip());
|
||||
button.setIcon(new ImageIcon(scaledImage));
|
||||
button.putClientProperty(SubstanceSynapse.FLAT_LOOK, Boolean.TRUE);
|
||||
|
||||
Reference in New Issue
Block a user