#ui element how to make enter or new line with special characters

1 messages · Page 1 of 1 (latest)

dense oracle
#

\n

#

Just use that

crude pumice
#

not work

#

i use like this

#
{
                "text": {
                    "type": "label",
                    "layer": 1,
                    "font_size": "normal",
                    "text_alignment": "center",
                    "text": "#scoreboard_text",
                    "bindings": [
                        {
                            "binding_name": "#player_name_sidebar",
                            "binding_type": "collection",
                            "binding_collection_name": "scoreboard_players"
                        },
                        {
                            "binding_name": "#scoreboard_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "aaa \n aaa",
                            "target_property_name": "#scoreboard_text"
                        }
                    ]
                }
            }
dense oracle
#

Hä?

#

Just paste it in the text field ?

#

Why in source_property_name

#

Do: "text": ""

unreal roost
#

someone posted a new line thing some time ago

#

apparently json ui makes a new line every 100 characters

#

#1094860562950799360 message

dapper horizon
#

its hive's ui that does that