public CreateNewResolutionDialog() { super("Create New Resolution"); addCloseButton(); VisTable mainTable = new VisTable(); mainTable.padTop(6).padRight(6).padBottom(22); mainTable.add("Name:").padRight(5).right(); nameVisTextField = createTextField(""); mainTable.add(nameVisTextField).colspan(3).width(177).height(21); mainTable.row().padTop(10); mainTable.add("Resolution:").padRight(5).right().top(); mainTable.add(getDimensionsTable()).left(); mainTable.row().padTop(20); VisTextButton createBtn = new VisTextButton("Create", "orange"); createBtn.addListener(new CrateButtonCliclListener()); mainTable.add(createBtn).width(93).height(24).colspan(2); add(mainTable); }