pencil icon indicating copy to clipboard operation
pencil copied to clipboard

Table stencil

Open darmar opened this issue 9 years ago • 2 comments

Unable to add more then 11 columns...

darmar avatar Oct 23 '15 06:10 darmar

If you look at the code of the table under https://github.com/prikhi/pencil/blob/develop/app/content/pencil/stencil/SketchyGUI/Definition.xml and then everything under <Shape id="table" displayName="Table" icon="Icons/table.png"> up to the next </Shape> then you will indeed see this limit: There is a Property name="h0" to "h11" defined.

IMHO, increasing this to a few more properties should be simple. How many do we need?

mvdw avatar Oct 24 '15 06:10 mvdw

Nice, this will solve the "problem"... Well, I need about 20 columns. Altought, I can add two stencils, side by side - a bit junky solution but will work, Since this is part of the stencil, I will make my own instance of it and upgrade as you instructed in definition.xml file.

Thanks !

P.S: ont more question, what does the value 290,0 mean? I see it set for the last few columns...

darmar avatar Oct 26 '15 09:10 darmar