Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '开关'); |
31 | 31 | })), |
32 | 32 | this.addEntry(this.getTagsForStencil(gn, 'Params Setting', dt).join(' '), mxUtils.bind(this, function () { |
33 | - const cell = new mxCell('<button class="param-setting-button">参数设置</button>', new mxGeometry(0, 0, 100, 60), 'text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;'); | |
33 | + const cell = new mxCell('参数设置', new mxGeometry(0, 0, 60, 32), 'text;html=1;strokeColor=#1890ff;fillColor=#1890ff;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontColor=#FFFFFF;rounded=1;shadow=0;'); | |
34 | 34 | // 自定义属性 |
35 | 35 | const cellAttribute = { |
36 | 36 | [COMPONENT_TYPE]: PARAMS_SETTING_BUTTON | ... | ... |