 		@input.style.backgroundColor = "transparent"
 		@input.style.width = "#{@width - 64}px"
 		@input.style.height = "#{@height}px"
-		@input.style.marginLeft = "32px"
 		@input.style.color = if @color? then @color else "#aaa"
 		@input.style.cursor = "auto"
 
+		# Input text spacing
+		@input.style.marginLeft = "32px"
+
+		if @multiLine
+			@input.style.marginTop = "32px"
 
 		# If text has been defined, use that, otherwise default to placeholder
 		@input.value = if @text isnt "Type Something" then @text else "Placeholder"

			if e.which is 8
				@emit(Events.BackSpaceKey, event)

	@define "value",
		get: -> @input.value

	onEnterKey: (cb) -> @on(Events.EnterKey, cb)
	onBackSpaceKey: (cb) -> @on(Events.BackSpaceKey, cb)

Events.InputFocus = "InputFocus"

class exports.InputLayer extends TextLayer

	constructor: (options={}) ->

		_.defaults options,
			backgroundColor: "#fff"
			width: 500
			height: 100
			color: "#aaa"

		super options

		if not @multiLine
			@input = document.createElement("input")
		else
			@input = document.createElement("textarea")

		@_element.appendChild(@input)

		# Match TextLayer defaults and type properties
