Reduced Constructor sets GuiAdvancedTextField's height

This commit is contained in:
CrushedPixel
2015-07-19 13:26:26 +02:00
parent 5087de8cd5
commit 0dc4ddca08

View File

@@ -25,6 +25,7 @@ public class GuiAdvancedTextField extends GuiTextField implements GuiElement {
public GuiAdvancedTextField(FontRenderer fontRenderer, String hint, int maxInputLength) {
this(fontRenderer, hint);
this.height = 20;
setMaxStringLength(maxInputLength);
}