       }
     }
     if expandParentWidth {
-      t.expandParentWidth = 1
+      t.expandParentWidth = true
     }
     if expandParentHeight {
-      t.expandParentHeight = 1
+      t.expandParentHeight = true
     }
     return t
   }

    }
    var ap = drawBorder(x, y: y, size: size)
    let w = size.width - size.borderLeft - size.borderRight
    for s in size.children! {
      if s.width <= w {
        s.element!.draw(ap.x, y: ap.y, size: s)
      } else {
        var clippedSize = s

  public var height = 0
  public var expandWidth = 0
  public var expandHeight = 0
  public var expandParentWidth = false
  public var expandParentHeight = false
  public var expandWidthFreely = 0
  public var expandHeightFreely = 0
  public var element: NCElement?
