Permalink
Browse files

Title is set off from content

  • Loading branch information...
1 parent 28346a8 commit 3ce82656e1b7e8d7dd01101495277dd76c3bf773 @UrsKR UrsKR committed Jun 7, 2012
@@ -77,6 +77,7 @@ public void setOverview(JComponent component) {
private JComponent createContainer(IView content, String name) {
JPanel viewComponent = new JPanel(new BorderLayout());
JXTitledSeparator title = new JXTitledSeparator(name);
+ title.setBorder(new EmptyBorder(0,0,5,0));
title.setFont(title.getFont().deriveFont(Font.BOLD));
viewComponent.add(title, BorderLayout.NORTH);
viewComponent.setBorder(new EmptyBorder(10, 10, 10, 10));

0 comments on commit 3ce8265

Please sign in to comment.