#How do I create that? Help!
1 messages · Page 1 of 1 (latest)
Hover text?
Let's see how it goes
this?
Yes
The only bad thing is that I could only make it have one specific text for everyone ;-;
why tho? you can pass data from #form_button_text
yeah bro, one moment
this?
"button_content_with_hover": {
"type": "panel",
"controls": [
{
"button_label": {
"type": "label",
"text": "#form_button_text",
"color": [0.2, 0.2, 0.4],
"shadow": false,
"font_type": "smooth",
"font_scale_factor": 0.9,
"size": ["100%", "default"],
"text_alignment": "center",
"bindings": [
{
"binding_name": "#form_button_text",
"binding_type": "collection",
"binding_collection_name": "form_buttons"
}
]
}
},
{
"[email protected]_text": {
"ignored": "$default_state",
"layer": 100,
"property_bag": {
"#hover_text": "Haz click para seleccionar este servidor"
}
}
}
]
}
"[email protected]_text": {
"ignored": "$default_state",
"layer": 100,
"bindings": [
{
"binding_name": "#form_button_text",
"binding_name_override": "#hover_text",
"binding_type": "collection",
"binding_collection_name": "form_buttons"
}
]
}
use this for the hover text, alternatively, you can use view type binding to perform operations on #form_button_text
how to fix that??
Hover text can't use localized text
You can mimic the hover text using a cursor following button or probably input panel