mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[shelve]: fix dialog to be compatible with new MigLayout library
* problem Introduced in a9e7965f88;
This commit is contained in:
+4
-3
@@ -86,7 +86,8 @@ public class CleanUnshelvedFilterDialog extends DialogWrapper {
|
||||
protected JComponent createCenterPanel() {
|
||||
JPanel panel = new JPanel(new BorderLayout());
|
||||
JLabel questLabel = new JLabel("Delete already unshelved changelists: \n");
|
||||
final MigLayout migLayout = new MigLayout("flowx, ins 0");
|
||||
String panelConstraints = "flowx, ins 0";
|
||||
final MigLayout migLayout = new MigLayout(panelConstraints);
|
||||
JPanel buttonsPanel = new JPanel(migLayout);
|
||||
ButtonGroup gr = new ButtonGroup();
|
||||
gr.add(mySystemUnshelvedButton);
|
||||
@@ -97,9 +98,9 @@ public class CleanUnshelvedFilterDialog extends DialogWrapper {
|
||||
myUnshelvedWithFilterButton.setBorder(BorderFactory.createEmptyBorder());
|
||||
myAllUnshelvedButton.setBorder(BorderFactory.createEmptyBorder());
|
||||
|
||||
buttonsPanel.add(mySystemUnshelvedButton,"wrap");
|
||||
buttonsPanel.add(mySystemUnshelvedButton, "wrap");
|
||||
|
||||
JPanel filterPanel = new JPanel(migLayout);
|
||||
JPanel filterPanel = new JPanel(new MigLayout(panelConstraints));
|
||||
filterPanel.add(myUnshelvedWithFilterButton);
|
||||
filterPanel.add(myTimePeriodComboBox);
|
||||
buttonsPanel.add(filterPanel, "wrap");
|
||||
|
||||
Reference in New Issue
Block a user