ioBroker / ioBroker.vis-hqwidgets

High Quality Widgets for ioBroker.vis
MIT License
18 stars 11 forks source link

On/Off Widget - distance side-text + different stil-selection #64

Open Cyberraph opened 4 weeks ago

Cyberraph commented 4 weeks ago

Hello all,

I am new to everything.

But I guess there are two things which are a little wrong with the On/Off widget.

First: I want to have more distance between the written text on the left side for example. There are some lines with distance input. "Linker Abstand (Links)" "Rechter Abstand (Links)" "Linker Abstand (Rechts)" "Rechter Abstand (Rechts)"

Putting something into "Linker Abstand (Rechts")", I think there should be a change in the distance between the end of the text to the circle with the bulb. But nothing happens.

Also nothing happens putting something into "Rechter Abstand (Rechts)".

And putting something into "Linker Abstand (Links)" or "Rechter Abstand (Links)" the widget disappears. In the runtime as i hover over with the mousepointer there is something in the background, but it cant be switched.

I not sure if I am doing something wrong in putting the values in it / in choosing the right lines or something. Or there is a bug within the widget.

Bild 1

Bild 2

Second: There is something wrong in un-selecting the STIL.

The standard by choosing the On/Off Widget is off = grey background on = yellow background and the STIL is un-checked.

Now if I am selecting a STIL. In my example off = yellow on = green ... working fine

But if I am unchecking the STIL, I thought it should change to the standard as I have written it first.

But no, it stays on the previouse selected different STIL.

Unless I delet Cookies and Cache from my browser and refresh the VIS Editor. After this it changes to the standard Stil.

I am using Firefox 64bit as browser (see also in the attached picture).

I think this behavior is a bug.

Standard off

Standard on

Activating and selecting different STIL

Stil off

Stil on

Unselecting different STIL

Used Firefox Browser

Maybe someone can explane me, if I am doing something wrong or this are two bugs I am facing here.

Thank you very much.

Greetings Cyberraph.

PS: I can explane it in German as well if necessary.