Adorkable / node-red-contrib-ui-led

A simple LED status indicator for the Node-RED Dashboard
MIT License
16 stars 12 forks source link

Size of screen taken up by LED #28

Closed Just-another-pleb closed 5 years ago

Just-another-pleb commented 5 years ago

Ok, this is more a request than a bug.

When you create the LED on the dashboard, there is no means to edit the "size" that it takes up.

Explination: Say I have a group which is 6 squares wide. I have another node that is 3 squares wide in that group. I want to put the LED on the same "line" (horizontal) as the a fore mentioned node. Alas it can't be done. There is no way to make the LED 3 squares wide, so the two can fit in the 6 wide group and not the LED is an entire line by itself.

Could it be added at some time to allow this?

Thanks.

yoiang commented 5 years ago

@Just-another-pleb Can you point me at an example or a screenshot of what you mean? Also can you point me at another UI node that allows you to specify its size? That would be super helpful, thank you!

Just-another-pleb commented 5 years ago

Ok,

See attached.

The "Group" is 6 wide.

I put your LED in it and a "switch".

The Switch is 3 wide - green rectangle. The LED fills up the entire width of the group.

So I can put something else after the switch on the same "line". But I can't edit the LED properties to allow this.

Also if the width is ...... 12 (or something) the label and the LED would be a long way apart.

Clearer?

On Wed, 3 Apr 2019 at 06:41, Ian G notifications@github.com wrote:

@Just-another-pleb https://github.com/Just-another-pleb Can you point me at an example or a screenshot of what you mean? Also can you point me at another UI node that allows you to specify its size? That would be super helpful, thank you!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Adorkable/node-red-contrib-ui-led/issues/28#issuecomment-479166571, or mute the thread https://github.com/notifications/unsubscribe-auth/AmClmDn01BeAgvoTMAx5bQ2-L0A6pIsMks5vc7JzgaJpZM4cTW2n .

yoiang commented 5 years ago

@Just-another-pleb the attached didn't come through unfortunately, could you try again?

Just-another-pleb commented 5 years ago

Standbye. I'll try via Github.

On Wed, 3 Apr 2019 at 07:13, Ian G notifications@github.com wrote:

@Just-another-pleb https://github.com/Just-another-pleb the attached didn't come through unfortunately, could you try again?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Adorkable/node-red-contrib-ui-led/issues/28#issuecomment-479179933, or mute the thread https://github.com/notifications/unsubscribe-auth/AmClmI02W1EharvV6i_xgVP5988GslfXks5vc7n2gaJpZM4cTW2n .

Hypnos3 commented 5 years ago

For other UI elements there is a size selection (switch): image

The LED does not have such a selection: image

when you push this you can select how many space the ui element takes (button): image

example label: image

yoiang commented 5 years ago

Perfect, I'll check it out tonight. Thanks for pointing me in the right direction!

Just-another-pleb commented 5 years ago

Ok, here I go again.

Let's hope this works this time.

Ok, I can't find how to attach things here.

But it seems Hypnos3 has hit it on the head.

Oh, just saw how to attach.

Refer back to my previous post.

Screenshot from 2019-04-03 07-02-44 Screenshot from 2019-04-03 07-02-49

yoiang commented 5 years ago

Available in 6c0832e3cf608d04d2a47fd1ba4441ca33f44bc0 Follow the milestone to know when it's been released