fix(renderer): setting multi-line property
This commit is contained in:
@@ -72,10 +72,12 @@ public class G2DTextfieldControlImpl2 extends G2DBaseControlImpl implements Text
|
||||
}
|
||||
|
||||
private void setMultiLine(final boolean multiLine) {
|
||||
if (this.textComponent != null) {
|
||||
throw new UnsupportedOperationException("Multiline property is read-only after initial control creation");
|
||||
if (this.textComponent == null) {
|
||||
this.multiLine = multiLine;
|
||||
}
|
||||
else {
|
||||
// throw new UnsupportedOperationException("Multiline property is read-only after initial control creation");
|
||||
}
|
||||
this.multiLine = multiLine;
|
||||
}
|
||||
|
||||
private boolean isReadonly() {
|
||||
|
||||
Reference in New Issue
Block a user