SpoutDev/Spout — Issue #1678: GenericTextField wont allow text beyond visible area
Author: mcsnetworks
Created: 2012-03-01 04:09:59+00:00
State: open

Ive created a GenericTextField with the following properies.

usersGUI.get(id).setX(198).setY(112).setWidth(100).setHeight(height);
usersGUI.get(id).setMaximumCharacters(200).setMargin(0);
usersGUI.get(id).setText(usersGUI.get(id).getText());
popupScreen.get(id).attachWidget(BIT.plugin, usersGUI.get(id));

Even though I have Max Characters set at 200, I can only type 15 characters in this field.

I've looked through the JavaDoc to see if there was a way to resolve this but could not find it. The only way I could resolve it was to change the setWidth value to a higher number but that changes the layout of my plugin drastically.

I need to be able to type additional text into the field and allow the user to continue to type data in the field until the MaxCharacters value is reached.

Please advise.