Skip to content
Snippets Groups Projects
Commit c9ba64f8 authored by Dominique Blouin's avatar Dominique Blouin
Browse files

Provide API to limit dialog boxes sizes to the size of the screen + cleanup

parent bdbfbd6c
No related branches found
No related tags found
No related merge requests found
......@@ -340,8 +340,8 @@ public class AvatarMADAssumption extends TGCScalableWithInternalComponent implem
public boolean editOndoubleClick(JFrame frame, int _x, int _y) {
JDialogAssumption jda = new JDialogAssumption(tdp.getGUI().getFrame(), "Setting attributes of Assumption " + getAssumptionName(), getAssumptionName(), text, type, durability, source, status, limitation);
jda.setSize(750, 550);
GraphicLib.centerOnParent(jda);
// jda.setSize(750, 550);
GraphicLib.centerOnParent(jda, 750, 550 );
jda.show();
if (!jda.isRegularClose()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment