#hud element issue

1 messages · Page 1 of 1 (latest)

candid gazelle
#

im kinda new to json ui and i found a great example in #1072983602821861426 and i was trying to reverse engineer it a bit and make it kinda a custom /title command instead

#

i thought by removing the test_panel which is in charge of stacking and altering root panel it would remove the stacking but it didnt and gave some weird results

#

can someone help me remove stack panel and kinda explain how to do it and why it works?

#

im tryna get this issue fixed and learn more at the same time

#

thanks

candid gazelle
#

,

candid gazelle
#

anyone?

candid gazelle
#

pls?

twin glade
# candid gazelle pls?

The stacking happens because the factory that generates the elements is inside a stack_panel

Change it to a regular panel if you don't want stacking

candid gazelle
#

but when i change it to a normal panel they stop ts along which is good

#

but they just go on top of eaachotger

#

instead of overriding

#

if that makes sense

twin glade
candid gazelle
#

ohh ok thank you for that

#

i’ll try that as soon as i can

#

so putting “max_children_size”: 1 under the panel it will override previous children?

twin glade
#

max_children_size will limit the generated content of the factory to 1
so when a new content needs to be generated it'll override the previous one

#

you have to put it inside "factory": { }

candid gazelle
#

@twin glade

#

i tried ur fix tysm for the tip

#

works great

#

but every time a chat message is send it flickers?

#

any way around that

candid gazelle
#

hud element issue

candid gazelle
#

anyone?

candid gazelle
#

.

candid gazelle
#

.

frosty hill
#

welcome to JSON UI, there's only about a handful of people here who will actually help you. Plenty of people who try to get commissions in DMs though!

candid gazelle
#

alr

candid gazelle
#

u know any1 that can help?

frosty hill
#

try #1067870274894172260, they typically ego you less in there