mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
+2
-2
@@ -36,10 +36,10 @@ public class FormLayoutSerializer extends GridLayoutSerializer {
|
||||
|
||||
public static FormLayoutSerializer INSTANCE = new FormLayoutSerializer();
|
||||
|
||||
public static CellConstraints.Alignment[] ourHorizontalAlignments = new CellConstraints.Alignment[] {
|
||||
public static CellConstraints.Alignment[] ourHorizontalAlignments = {
|
||||
CellConstraints.LEFT, CellConstraints.CENTER, CellConstraints.RIGHT, CellConstraints.FILL
|
||||
};
|
||||
public static CellConstraints.Alignment[] ourVerticalAlignments = new CellConstraints.Alignment[] {
|
||||
public static CellConstraints.Alignment[] ourVerticalAlignments = {
|
||||
CellConstraints.TOP, CellConstraints.CENTER, CellConstraints.BOTTOM, CellConstraints.FILL
|
||||
};
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ import com.intellij.openapi.ui.VerticalFlowLayout;
|
||||
import org.jetbrains.android.facet.AndroidFacet;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
/**
|
||||
* @author Eugene.Kudelevsky
|
||||
@@ -31,7 +30,7 @@ public class CheckModulePanel extends JPanel {
|
||||
private boolean myHasWarnings;
|
||||
|
||||
public CheckModulePanel() {
|
||||
super(new VerticalFlowLayout(FlowLayout.LEFT));
|
||||
super(new VerticalFlowLayout(VerticalFlowLayout.TOP));
|
||||
}
|
||||
|
||||
public void updateMessages(AndroidFacet facet) {
|
||||
|
||||
@@ -353,7 +353,7 @@ public abstract class DeviceConfiguratorPanel extends JPanel {
|
||||
rightPabel.add(new JBScrollPane(myChosenQualifiersList, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
|
||||
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER), BorderLayout.CENTER);
|
||||
|
||||
final JPanel buttonsPanel = new JPanel(new VerticalFlowLayout(FlowLayout.CENTER, 0, 0, true, false));
|
||||
final JPanel buttonsPanel = new JPanel(new VerticalFlowLayout(VerticalFlowLayout.MIDDLE, 0, 0, true, false));
|
||||
myAddQualifierButton = new JButton(">>");
|
||||
buttonsPanel.add(myAddQualifierButton);
|
||||
myRemoveQualifierButton = new JButton("<<");
|
||||
|
||||
Reference in New Issue
Block a user