Skip to content

Instantly share code, notes, and snippets.

@geoffreyd
Forked from anonymous/gist:141801
Created July 7, 2009 01:06
Show Gist options
  • Select an option

  • Save geoffreyd/141802 to your computer and use it in GitHub Desktop.

Select an option

Save geoffreyd/141802 to your computer and use it in GitHub Desktop.
layoutView : SC.SplitView.design({
layoutDirection: SC.LAYOUT_HORIZONTAL,
defaultThickness: 200,
layout: {bottom:0, top:0, left:0, right:0},
canCollapseViews: NO,
// the left view...
topLeftView: SC.SplitView.design({
layoutDirection : SC.LAYOUT_VERTICAL,
defaultThickness: 200,
layout: {bottom:0, top:0, left:0, right:0},
topLeftView: SC.View.design({
layout: {bottom:0, top:0, left:0, right:0},
}),
bottomRightView:SC.View.design({
})
})
}),
// the right view
bottomRightView: SC.View.design({
// view contents
})
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment