use of convenientadditions.api.gui.widget.TextBox in project ConvenientAdditions by Necr0.
the class GuiTransmutationTomeRecipeLookup method initGui.
@Override
public void initGui() {
super.initGui();
initClearable();
addWidget(new Label(leftX + 8, topY + 6, Helper.localize("gui." + ModConstants.Mod.MODID + ":transmutationTomeLookup")));
addButton(new GuiButtonExt(0, leftX + 8, topY + 108, 12, 12, "<"));
addButton(new GuiButtonExt(1, leftX + 156, topY + 108, 12, 12, ">"));
textBox = addWidget(new TextBox(2, leftX + 73, topY + 5, 98, 10));
textBox.setText(query);
}
Aggregations