   public var borderType = NCBorderType.LightCurved
   public var expandWidth = true
   public var expandHeight = false
+  public var expandParentWidth = true
+  public var expandParentHeight = false
 
   public init() { }
 

public enum NCType {
  case Div
  case Span
}



    return r
  }

  public func tellSize() -> TellSize {
    var t = TellSize()
    for e in children {
      var me = e
      let s = me.tellSize()
      if s.width > t.width {
        t.width = s.width
      }
      t.height += s.height
      if s.expandWidth > 0 {
        t.expandWidth = 1
        if s.expandWidthFreely > 0 {
          t.expandWidthFreely = 1
        }
      }
      if s.expandHeight > 0 {
        t.expandHeight += 1
        if s.expandHeightFreely > 0 {
          t.expandHeightFreely += 1
        }
      }
      if s.expandParentWidth > 0 {
        t.expandParentWidth = 1
      }
      if s.expandParentHeight > 0 {
        t.expandParentHeight += 1
      }
    }
    return t
  }

  public func draw(x: Int, y: Int, width: Int, height: Int) {
    var ny = y
    for r in children {
      var mr = r
      NC.pd(inspect(mr.tellSize()))
      //r.draw()
    }
  }

}


