plugin-panel: stick plugin hub button to bottom of plugin list
This commit is contained in:
@@ -179,11 +179,11 @@ class PluginListPanel extends PluginPanel
|
||||
externalPluginButton.setBorder(new EmptyBorder(5, 5, 5, 5));
|
||||
externalPluginButton.setLayout(new BorderLayout(0, BORDER_OFFSET));
|
||||
externalPluginButton.addActionListener(l -> muxer.pushState(pluginHubPanelProvider.get()));
|
||||
add(externalPluginButton, BorderLayout.SOUTH);
|
||||
|
||||
JPanel northPanel = new FixedWidthPanel();
|
||||
northPanel.setLayout(new BorderLayout());
|
||||
northPanel.add(mainPanel, BorderLayout.NORTH);
|
||||
northPanel.add(externalPluginButton, BorderLayout.SOUTH);
|
||||
|
||||
scrollPane = new JScrollPane(northPanel);
|
||||
scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
|
||||
|
||||
Reference in New Issue
Block a user