I have a script that generates 5 windows, and want to use the script to organise the output into a project format, and arrange the layout.
I would like the window list on the right. On the left, I would like two rows :
top row, I want two graphs side by side.
bottom row, I want three tables displayed in tabs.
I have come up with the below script, but it doesn't do what I want. Currently all 5 get displayed in a single row on five different tabs, with the windows list on the right.
Can someone point me in the right direction?
Project = new project();
Move to Project( destination( Project ), windows( {"Table1" ,"Table2" , "Table3", "Graph1", "Graph2"} ));
Project << Set Layout(
H Splitter Box(
<<Set Sizes( {0.85, 0.15} ),
V Splitter Box(
<<Set Sizes( {0.3, 0.7} ),
H Splitter Box(
<<Set Sizes( {0.5, 0.5} ),
Tab Page Box( Window ID( "graph1" ) ),
Tab Page Box( Window ID( "graph2" ) )
),
Tab Box(
Tab Page Box( Window ID( "Table1" ) ),
Tab Page Box( Window ID( "Table2" ) ),
Tab Page Box( Window ID( "Table3" ) )
),
),
Tab Page Box(
Title( "Window List" ),
Window ID( "Windows" )
),
)
,
),