Added a way to limit a GuiTextArea's maximum character count and used it in GuiUploadFile's Description Text Area
Set GuiUploadFile's Description Text Area's line and width limit to a high value for better results on the website | https://trello.com/c/YS9EyYPF/
This commit is contained in:
@@ -186,7 +186,7 @@ public class GuiUploadFile extends GuiScreen implements ProgressUpdateListener {
|
||||
tags.hint = I18n.format("replaymod.gui.upload.tagshint");
|
||||
y+=20;
|
||||
|
||||
description = new GuiTextArea(fontRendererObj, 0, name.yPosition, 0, y - name.yPosition, 30, 15);
|
||||
description = new GuiTextArea(fontRendererObj, 0, name.yPosition, 0, y - name.yPosition, 1000, 100, 1000);
|
||||
}
|
||||
|
||||
columnWidth = Math.min(200, (width - 60) / 3);
|
||||
|
||||
Reference in New Issue
Block a user