# Switch size and Slider size. Not working

**URL:** <https://discourse.nodered.org/t/switch-size-and-slider-size-not-working/27071>\
**Category:** Dashboard\
**Created:** [22 May 2020 07:55 UTC](https://discourse.nodered.org/t/switch-size-and-slider-size-not-working/27071 "2020-05-22T07:55:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [22 May 2020 07:55 UTC](https://discourse.nodered.org/t/switch-size-and-slider-size-not-working/27071/1 "2020-05-22T07:55:47Z")

</div>

I have a `switch` node set as size `1 x 2` (Vertical)  
That is ok.

Beside it I want to put a `slider` also sized `1 x 2` (vertical)

Yeah, but something isn't working. The `slider` is longer (taller) the `switch`.

![Screenshot from 2020-05-22 17-53-34](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/6/46bddb923282599c2aad8aeac8d14bdee08c0514.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 May 2020 08:26 UTC](https://discourse.nodered.org/t/switch-size-and-slider-size-not-working/27071/2 "2020-05-22T08:26:34Z")

</div>

yeah there are some limits... try 1x3

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [22 May 2020 08:29 UTC](https://discourse.nodered.org/t/switch-size-and-slider-size-not-working/27071/3 "2020-05-22T08:29:04Z")

</div>

😉

Yeah, had to upsize.

No problems.

(While here)

The name isn't being shown though. ☹

```auto
[{"id":"fc61c4b5.e874b","type":"ui_slider","z":"26262ba1.62dcbc","name":"Brightness","label":"Brightness","tooltip":"","group":"c9a39d1d.9fa798","order":3,"width":"1","height":"2","passthru":true,"outs":"end","topic":"","min":0,"max":10,"step":1,"x":2480,"y":2210,"wires":[["ca9a7c11.32fa2"]]},{"id":"fa70d99a.b562","type":"ui_slider","z":"26262ba1.62dcbc","name":"Temp'","label":"Temp'","tooltip":"","group":"c9a39d1d.9fa798","order":4,"width":"1","height":"2","passthru":true,"outs":"end","topic":"","min":0,"max":"20","step":1,"x":2500,"y":2420,"wires":[["49781795.bbb75","712d12bd.1eba3c"]]},{"id":"c9a39d1d.9fa798","type":"ui_group","z":"","name":"BULB-2","tab":"aa487daa.33c1c","order":5,"disp":true,"width":"4","collapse":false},{"id":"aa487daa.33c1c","type":"ui_tab","z":"","name":"Real_World_Control","icon":"dashboard","order":3,"disabled":false,"hidden":false}]

```

![Screenshot from 2020-05-22 18-27-08](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/a/3a938958ec5c37383463c3fec44feefff21d4449.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 May 2020 08:32 UTC](https://discourse.nodered.org/t/switch-size-and-slider-size-not-working/27071/4 "2020-05-22T08:32:39Z")

</div>

need to go to 1x4 for that as well.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [22 May 2020 08:34 UTC](https://discourse.nodered.org/t/switch-size-and-slider-size-not-working/27071/5 "2020-05-22T08:34:53Z")

</div>

😭 Argh! Ok. I can live without it.

I may redesign it anyway so there is a _colour slide_ behind the slider anyway.

For now it will suffice.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 June 2020 08:34 UTC](https://discourse.nodered.org/t/switch-size-and-slider-size-not-working/27071/6 "2020-06-21T08:34:58Z")

</div>

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