From cbc453629a4d0560b68d65ab28a30c32c65764c6 Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 2 Apr 2012 16:39:23 +0000 Subject: Fixed identity link layout for long names git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1059 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'BKUGuiExt/src') diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java index 62fb4f02..32196d50 100644 --- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java +++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java @@ -199,12 +199,13 @@ public class IdentityLinkGUI extends CardMgmtGUI implements .addComponent(firstNameLabel_description) .addComponent(lastNameLabel_description) .addComponent(birthdateLabel_description)) - .addPreferredGap(ComponentPlacement.RELATED) + .addPreferredGap(ComponentPlacement.RELATED, 5, 5) .addGroup(mainPanelLayout.createParallelGroup(Alignment.LEADING) .addComponent(firstNameLabel) .addComponent(lastNameLabel) .addComponent(birthdateLabel)) - .addContainerGap(50, Integer.MAX_VALUE)))) + .addPreferredGap(ComponentPlacement.RELATED) + .addContainerGap(0, Integer.MAX_VALUE)))) ); mainPanelLayout.setVerticalGroup( mainPanelLayout.createParallelGroup(Alignment.LEADING) -- cgit v1.2.3