 			minWidth = undefined
 
 		CUI.dom.setAttribute(@__layer_root.DOM, "cui-placement", placement)
-		CUI.dom.setAttribute(@__layer_root.DOM, "cui-fill-space", @_fill_space)
+		CUI.dom.setAttribute(@__layer_root.DOM, "cui-fill-space", @__fill_space)
 
 		set_css =
 			top: vp.layer_pos.top

CUI.Template.loadTemplateText(require('./Layer.html'));

class CUI.Layer extends CUI.DOMElement

	constructor: (opts) ->
		super(opts)

			fill_space:
				default: "auto"
				mandatory: true
				check: CUI.Layer.FILL_SPACE_CHECK_ARRAY

			# if set, the Layer, when shown checks if the "element"
			# is still in the DOM tree
