How to wrap text in selector switch?

Moderator: leecollings

Post Reply
vtwp
Posts: 8
Joined: Sunday 06 December 2020 19:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

How to wrap text in selector switch?

Post by vtwp »

Hi there,

Maybe a stupid question, but how to wrap text in a button set selector switch, so that my buttons fit in the box?
I'm using a selector switch, with the button set option, and dependent on the screen width, my buttons don't fit on a single line. So, like this:
Domoticz.jpg
Domoticz.jpg (26.71 KiB) Viewed 220 times
Now, I would like the buttons distributed over two rows, to fit them in the box of the selector switch. I've seen that online, for example at https://forum.mysensors.org/topic/4933/ ... -tutorial . However, I don't know how to get the buttons distributed over two (or three) rows. Any suggestions?
User avatar
waltervl
Posts: 5851
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: How to wrap text in selector switch?

Post by waltervl »

There is no way to do this. Therefore the pull down menu option is designed.
Other way is to use ASCII symbols or short text as button descriptions.

Edit: see for example ASCII symbols viewtopic.php?t=36640

Edit2: perhaps change the template in menu setup-settings
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest