Community
Participate
Working Groups
StringFieldEditor support a width field but the IntegerFieldEditor provides no API to set the corresponding value. NOTES:
PRODUCT VERSION: 113
Can be postponed > 2.0
Defering based on feedback from reporter.
Reopen for investigation
The IntegerFieldEditor has a fixed limit of 10 so as to prevent a huge amount of whitespace. Do you have a place where you think you need this?
As far as I can remember the problem was that if the number you can enter is constraint (e.g. < 100) you ended up with an input field for 10 characters. This looks strange in the UI.
The problem there is sizing as well then. If we limited it to the number of digits of the maximum value then in most cases it becomes very small. I think however that this debate means there is no good answer so allowing the developer to configure this is a good idea.
Added new constructor IntegerFieldEditor(String name, String labelText, Composite parent,int textLimit) allow for this.
Marking closed