Search text of a widget box

I want to know if i can search from a box ,whether it contains a specific text

on this screenshot here i want to hide the text “values” if every of this values are 0.
i can solve it ,but i dont want to waste that much functions.

There are 2 ways you can go about it, here’s the hard, ugly way:

Mark all text block as variable (top of the details panel) and then:

Note, this is untested but looks ok to me.


The correct way to do it is to turn the WrapBox items into separate widgets and drop them into the WrapBox as custom widget - this way you can query them very easily and you get a lot of flexibility and other functionality you may want down the line. Depends on how complex this is going to be.

Hope it helps.

I have a little big problem here… every single value is different. (I just didnt have the pictures for the others) so i cant make one new widget for all of the values. Im trying to do this with a data table. Maybe it works

I don’t understand.

Are you referring to the 1st option I posted or the 2nd one. For the second one, you expose a variable on the widget and feed it values from the DataTable. That’s providing you are spawning them dynamically. It’s much easier with static elements that you manually drop in a panel.

Consider providing a bit more info regarding what you’re trying to achieve.

im trieing to do the 2nd option. This values are values for one of my equipment items.
As example: I have a sword and he has attackdamage, attackspeed, attackrange and so on… This are item effects

This WrapBox is not only for weapons. It is for every item (shield rings helmet etc.).
Manually drop in a panel is no option for me, because it would be to full of functions.
There will be ca 20 different values (an image with value)
I created a dataTable with the ID,value, Name and image for my itemeffects. It is difficult to explain everything. Im watching out to make a little specific video about the problem when u take a bit time for it.

ok i get it. Thx for your help.

I see you’ve figured it out! Well done, sir.