|
// "Cols" and "Rows" specify the coordinates in x and y. |
|
// Cells create cells by indexing the rows and cols array in the order [startx, starty, endx, endy]. |
|
// Edit your Main.Sublime-menu file |
|
// Mac: /Users/yourMacName/Library/Application Support/Sublime Text 2/Packages/Default |
|
// PC: C:\Users\yourPCName\AppData\Roaming\Sublime Text 2\Packages\Default |
|
// Example Below: |
|
|
|
{ |
|
"caption": "Grid: 6", |
|
"command": "set_layout", |
|
"args": |
|
{ |
|
"cols": [0.0, 0.33, 0.66, 1.0], |
|
"rows": [0.0, 0.5, 1.0], |
|
"cells": |
|
[ |
|
[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], |
|
[0, 1, 1, 2], [1, 1, 2, 2], [2, 1, 3, 2] |
|
] |
|
} |
|
}, |
|
{ |
|
"caption": "Grid: 8", |
|
"command": "set_layout", |
|
"args": |
|
{ |
|
"cols": [0.0, 0.25, 0.50, 0.75, 1.00], |
|
"rows": [0.0, 0.5, 1.0], |
|
"cells": |
|
[ |
|
[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1], |
|
[0, 1, 1, 2], [1, 1, 2, 2], [2, 1, 3, 2], [3, 1, 4, 2] |
|
] |
|
} |
|
} |