Tweak button positions.

This commit is contained in:
Christian committed 2014-01-01 02:09:40 -05:00
1 parent ab5eb3ccff
commit 3113138bd1
2 files changed
+3 -3

No files matched your search

@@ -93,8 +93,8 @@ public class GuiModList extends GuiScreen
}
listWidth=Math.min(listWidth, 150);
this.field_146292_n.add(new GuiButton(6, this.field_146294_l / 2 - 75, this.field_146295_m - 38, I18n.func_135052_a("gui.done")));
configModButton = new GuiButton(7, 10, this.field_146295_m - 58, this.listWidth, 20, "Config");
disableModButton = new GuiButton(8, 10, this.field_146295_m - 36, this.listWidth, 20, "Disable");
configModButton = new GuiButton(7, 10, this.field_146295_m - 60, this.listWidth, 20, "Config");
disableModButton = new GuiButton(8, 10, this.field_146295_m - 38, this.listWidth, 20, "Disable");
this.field_146292_n.add(configModButton);
this.field_146292_n.add(disableModButton);
this.modList=new GuiSlotModList(this, mods, listWidth);
@@ -31,7 +31,7 @@ public class GuiSlotModList extends GuiScrollingList
public GuiSlotModList(GuiModList parent, ArrayList<ModContainer> mods, int listWidth)
{
super(parent.getMinecraftInstance(), listWidth, parent.field_146295_m, 32, parent.field_146295_m - 65 + 4, 10, 35);
super(parent.getMinecraftInstance(), listWidth, parent.field_146295_m, 32, parent.field_146295_m - 66 + 4, 10, 35);
this.parent=parent;
this.mods=mods;
}