sorry to be a nuisance but after some hours of trying stuff I'm stuck. For example the native switch has the label preceding the switch and does not right justify. On the vuetify site they have a switch template which looks great.
type or paste <v-switch
color="indigo"
label="indigo"
value="indigo"
hide-details
></v-switch>
code here
I don't know how to introduce an input and get an output which also passes through. I've tried messing with CSS but I'm way out of my depth.
We have announced the deprecation. We arenāt planning to remove or delete the repository so you can carry on using it at your own risk for as long as you like.
The top half all use simple v-switch templates and are nicely formatted with the button to the left of label. Bottom half are some native switch elements. Problem is that if i use the template i need to have payload input to switch on as well as passthrough which the native widget provides. I'm struggling with this. I can happily go with the built in version. Just keen to learn CSS etc
You don't need passthrough, just use pass round (feed whatever is coming in at the front also to wherever the output goes.
I suggest you start a new thread with a title that reflects what you want to achieve - label on RHS. Or would label on LHS do if it were right justified? I suspect that is just CSS but that is not my area of expertise. I suspect that putting the label on the other side would need changes to the switch code.
Just to check, what's the issue here with using the built-in switch widget? Is it that you want the switch element on the left, and the label on the right?
If so, that's a perfectly reasonable request on the core functionality for us to build in.
To me I don't think left or right is really the issue.
The problem is the text touching the next "column" which could be helped with bigger padding, and longer text needs to line wrap ?
Hi Colin, I have upgraded to gauges 1.3 and now my 3x3 format on mobile phone is unreadable.
The gauges are smaller and enclosed in square frame. Maybe I'm missing something but can I go back to vers. 1.2? And how...
For the moment you can install the previous version by going into your .node-red directory and running npm install @colinl/node-red-dashboard-2-ui-gauge-classic@1.2.1
Then restart node-red.
This should now be fixed. Version 1.3.1 should be available via package manager within an hour (refresh the browser before checking) or can be installed manually using npm install @colinl/node-red-dashboard-2-ui-gauge-classic@latest
and then restarting node-red.