
// // Copyright (c) 2008, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 10 Jul 08 Brian Frank Creation // ** ** SashPane lays out its children in a row or column with ** a sash control between each one to allow resizing. ** class SashPane : Widget { ** ** Horizontal or veritical configuration. Defaults ** to horizontal. Must be set at construction time. ** const Orientation orientation := Orientation.horizontal ** ** Relative weights of each child as percentages. ** Int[] weights { get { return send(getWeightsId, null) } set { send(setWeightsId, val) } } internal static const Str getWeightsId := "getWeights" internal static const Str setWeightsId := "setWeights" }