Text wraps in Form node Checkbox element

When I add a Form node with a Switch element it looks normal on single line:
image

However, when I change it to Checkbox it wraps the line after each word of text:
image

I cleared the text and re-entered it, and tried moving the element to be last one in the ist, but still the same issue.

On NR v1.1.3

Did you check the size attribute of the switch node?

It was originally set to auto and then I changed it to be 7x4 which is well big enough to accommodate the text on 1 line as can be seen from the text when I change it to slider.

Even if I set everything to be much wider than required it still wraps the text for Checkbox option. Looks like a bug to me...

What version of the dashboard are you using? You can get that from the startup log and also what are the node-red and node.js versions?

Hi - these are the versions (just updated dashboard from 2.23.2 and restarted - still same issue).
image

I've reproduced this and it looks to me like it should be wider too.

Ok, thx. Is there somewhere I need to file it as a bug?

I've reported it, you can follow it at https://github.com/node-red/node-red-dashboard/issues/622

Cool - thx very much :+1:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.