Posted on Mar 29, 2009 by
Quick Giraffe
The "Grid Size" schould be a setting.
I try to do it by changing follow in pencil.js:
Pencil.getGridSize = function () { if (!Config.get("gridSize")) { Config.set("gridSize", "5"); } var gridSize = Config.get("gridSize"); return {w: gridSize , h: gridSize}; };
But it works not very stable!
The Grid Size should be also a point in the "Page Properties" dialog: I changed the "PageDetailDialog.xul" to follow:
<hbox>
<label value="Grid Size"/>
<vbox>
<hbox>
<textbox size="3" type="number" min="1" id="gridSize"/>
<label value="(pixels)"/>
</hbox>
</vbox>
</hbox>
Thanks, Andreas
Comment #1
Posted on Nov 3, 2010 by Swift DogIn 1.2, the grid size setting can be found under General, Grid size or in the pencil.config.edit.gridSize advanced property.
Status: New
Labels:
Type-Defect
Priority-Medium