You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Zelos Renderer. I have a block with multiple statement inputs in a row.
If I append a text input field in a dummy input right after a statement input, the text box appears indented to be after the notch in a the previous statement block. However, If I do the same thing with a plain label input field, that label appears left-aligned as I would expect.
To Reproduce
Here is the code I'm using to do this:
this.appendDummyInput().appendField(newFieldImage('icons/file-icon.png',32,32,'schema file','Your schema')).appendField(newBlockly.FieldTextInput('',null,{tooltip: 'Schema name'}),'schema_name')this.appendDummyInput().appendField(newFieldImage('icons/plus-icon.png',16,16,'Add Definition','Add new definition')).appendField('Definitions')this.appendDummyInput().appendField(newBlockly.FieldTextInput('',null,{tooltip: 'Definition name'}),'def_1').appendField(newFieldImage('icons/minus-icon.png',16,16,'Remove definition','Remove this definition'))this.appendStatementInput('$defs1').setCheck(schemaTypes)this.appendDummyInput().appendField(newBlockly.FieldTextInput('',null,{tooltip: 'Definition name'}),'def_2').appendField(newFieldImage('icons/minus-icon.png',16,16,'Remove definition','Remove this definition'))this.appendStatementInput('$defs2').setCheck(schemaTypes)this.appendDummyInput().appendField("a label").appendField(newFieldImage('iicons/minus-icon.png',16,16,'Remove definition','Remove this definition'))this.appendStatementInput('$defs3').setCheck(schemaTypes)this.setNextStatement(true,schemaTypes)this.setColour(195)
Expected behavior
The text field should be left-aligned like the label. I haven't tested this with other input controls.
Screenshots
Desktop (please complete the following information):
Describe the bug
I'm using the Zelos Renderer. I have a block with multiple statement inputs in a row.
If I append a text input field in a dummy input right after a statement input, the text box appears indented to be after the notch in a the previous statement block. However, If I do the same thing with a plain label input field, that label appears left-aligned as I would expect.
To Reproduce
Here is the code I'm using to do this:
Expected behavior
The text field should be left-aligned like the label. I haven't tested this with other input controls.
Screenshots
Desktop (please complete the following information):