Always resize StringValue expert input element

(Bug 48747)
String expert needs to be resized even when there is no valid value (e.g. to reset
the input box height to one line if there is no value).

Change-Id: Ic5dadea3241d6731f28e4c6ad36a3049b2587a61