package io.continuum.bokeh
package widgets

@model abstract class Layout extends Widget {
    object width extends Field[Int]
    object height extends Field[Int]
}

@model class HBox extends Layout {
    object children extends Field[List[Widget]]
}

@model class VBox extends Layout {
    object children extends Field[List[Widget]]
}

package io.continuum.bokeh
package widgets

@model abstract class Layout extends Widget {
    object width extends Field[Int]
    object height extends Field[Int]
}

@model abstract class BaseBox extends Layout {
    object children extends Field[List[Widget]]
}

@model class HBox extends BaseBox

@model class VBox extends BaseBox

Make {H,V}Box inherit from BaseBox
Make {H,V}Box inherit from BaseBox
