evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.

Home Page:http://pencil.evolus.vn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bool stencil property not displaying in property grid

thebpmgroup opened this issue · comments

  • Operating system: Windows
  • Pencil version: 3.1.0

I have created a stencil and added some properties which are all displaying apart from the Bool property. This behaviour is consistent.

<?xml version="1.0" encoding="UTF-8"?>  
<Shapes xmlns="http://www.evolus.vn/Namespace/Pencil"  
        xmlns:p="http://www.evolus.vn/Namespace/Pencil"  
        xmlns:svg="http://www.w3.org/2000/svg"  
        id="collection" displayName="My Stencil Collection"  
        description="Rhodium Design System" author="Me">  
    <Shape id="basicgrid" displayName="Basic Grid"  icon="icons/basicGrid.png">  
        <Properties>  
            <PropertyGroup name="Basic Grid Properties">
                <Property name="columns" displayName="Columns" type="PlainText">Column1|Column2|Column3</Property>
                <Property name="rows" displayName="Rows" type="PlainText">Cell1|Cell2|Cell3,Cell4|Cell5|Cell6</Property>
                <Property name="headerbgColor" displayName="Header Background Colour" type="Color">#CCCCCC</Property>  
                <Property name="columnHeaderFont" displayName="Column Header Font" type="Font">Arial|normal|normal|6px</Property>
                <Property name="cellFont" displayName="Cell Font" type="Font">Arial|normal|normal|6px</Property>
                <Property name="withPagination" displayName="Pagination" type="Bool">false</Property>
            </PropertyGroup>  
        </Properties>

The withPagination property does not display in the properties grid when highlighting an instance of this shape on the design surface.

I have looked at other stencil projects and and documentation and I cannot see what I am doing wrong.

Anyone got any ideas?