breakpoints ui. cosmetics. some gaps

This commit is contained in:
andrey.zaytsev
2012-05-15 17:51:39 +04:00
parent 185bd7a87e
commit 86f74e3068
2 changed files with 2 additions and 2 deletions
@@ -142,7 +142,7 @@ public class DetailViewImpl extends JPanel implements DetailView {
if (panel != null) {
if (myDetailScrollPanel == null) {
myDetailPanelWrapper = new JPanel(new GridLayout(1, 1));
myDetailPanelWrapper.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));
myDetailPanelWrapper.add(panel);
myDetailScrollPanel =
@@ -40,7 +40,7 @@ public class TitledSeparator extends JPanel {
public TitledSeparator(String text) {
setLayout(new GridBagLayout());
add(myLabel, new GridBagConstraints(0, 0, 1, 1, 0, 1, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
add(myLabel, new GridBagConstraints(0, 0, 1, 1, 0, 1, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 3, 0, 0), 0, 0));
add(mySeparator,
new GridBagConstraints(1, 0, GridBagConstraints.REMAINDER, 1, 1, 1, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
new Insets(2, SEPARATOR_LEFT_INSET, 0, SEPARATOR_RIGHT_INSET), 0, 0));