edit.go
func (e *EditField) SetSize(width, height int) {
	if width != KeepValue && (width > 1000 || width < e.minW) {
		return
	}
	if height != KeepValue && (height > 200 || height < e.minH) {
		return
	}

	if width != KeepValue {
		e.width = width
	}

	e.height = 1
}
func (e *EditField) SetSize(width, height int) {
	if width != KeepValue && (width > 1000 || width < e.minW) {
		return
	}
	if height != KeepValue && (height > 200 || height < e.minH) {
		return
	}

	if width != KeepValue {
		e.width = width
	}

	e.height = 1
}
func ( e * EditField ) SetSize ( width , height int ) { if width != KeepValue && ( width > 1000 || width < e . minW ) { return } if height != KeepValue && ( height > 200 || height < e . minH ) { return } if width != KeepValue { e . width = width } e . height = 1 }
// SetSize changes control size. Constant DoNotChange can be
// used as placeholder to indicate that the control attrubute
// should be unchanged.
// Method does nothing if new size is less than minimal size
// EditField height cannot be changed - it equals 1 always
SetSize changes control size . Constant DoNotChange can be used as placeholder to indicate that the control attrubute should be unchanged . Method does nothing if new size is less than minimal size EditField height cannot be changed - it equals 1 always