Page 1 of 1

Switch/Selector How to make new line LevelNames

Posted: Tuesday 31 January 2023 14:15
by kacza
Hi,
I know how to encode and decode LevelNames but I don't know how to make the names not stick out beyond the outline.

How to put new line in Switch Selector LevelNames when there's more levels?

Re: Switch/Selector How to make new line LevelNames

Posted: Tuesday 31 January 2023 14:48
by waltervl
Use the drop down selector type (through Edit button) as that has been designed to use selector switches with too much levels.

Re: Switch/Selector How to make new line LevelNames

Posted: Tuesday 31 January 2023 15:03
by kacza
Thank you for your reply. I know what you mean but I've seen some smart guys do it differently.

Re: Switch/Selector How to make new line LevelNames

Posted: Tuesday 31 January 2023 18:06
by waltervl
Then we wait for the smart guys.... :)

Re: Switch/Selector How to make new line LevelNames

Posted: Tuesday 31 January 2023 18:30
by kacza
I did it. Used two times function

Code: Select all

if {} else {}
in file LightsController(.)js file and it's wotking.

Do not be mean xD
The thread can be closed.

Re: Switch/Selector How to make new line LevelNames

Posted: Tuesday 31 January 2023 19:18
by waltervl
Document it as you will loose this change after an update.