diff --git a/src/ui/TGCAttributeBox.java b/src/ui/TGCAttributeBox.java
index 0d60a4a7d9063cd97ef6ff6dca1e50e78216e454..7ef86760c8f6f8c88083078b841b26167d51528a 100755
--- a/src/ui/TGCAttributeBox.java
+++ b/src/ui/TGCAttributeBox.java
@@ -195,8 +195,8 @@ public abstract class TGCAttributeBox extends TGCWithoutInternalComponent {
         String oldValue = value;
         JDialogAttribute jda = new JDialogAttribute(myAttributes, forbiddenNames, frame, "Setting " + attributeText + "s of " + father.getValue(), attributeText);
         setJDialogOptions(jda);
-        jda.setSize(650, 375);
-        GraphicLib.centerOnParent(jda);
+    //    jda.setSize(650, 375);
+        GraphicLib.centerOnParent(jda, 650, 375);
         jda.setVisible(true); // blocked until dialog has been closed
         makeValue();
         if (oldValue.equals(value)) {