Removing "Default" category from a "Details View" Panel?

Hi. I’m working on a widget in which the user manages the contents of some structs. The only practical way to do this is seems to be through “details view” panels. My problem is, the panels insist on showing categories, even if there are none (as with all structs). It just makes up a category which it calls “default” and shows it as the header in each panel. Its useless, wastes space, and is confusing. Is there any way to just have it hide the “default?” And for that matter, is there any way to have a struct, or similar structure, take advantage of these categories?

Hey @Apgar426!

Unfortunately as far as I’m aware, you can’t have it hide the “Default”. The setup includes a category for every variable, and the Default category just means “Category 1”. All variables in blueprint have a category whether we like it or not, adding a category just means changing it from “Default Category” to “New Category”. It’s either Default or “you can’t create categories”. :sweat_smile: C++, however, doesn’t have this constraint obviously, but isn’t visualized like this.

I hope that answers your question, even if it isn’t the answer you were hoping for. That being said, after all these years, I still find there are things I don’t know. Maybe someone else has the answer, but I’m pretty sure it’s not doable :frowning:

1 Like

defaultsolved
I managed to find a solution, as well as improve the overall layout.
First, to remove the “default” header of the details panel, just cover it up with something else. :stuck_out_tongue: (use the z index and cover it with a “border” node the same color as the widget background)
Second, I realized it makes more sense to utilize a single panel to set multiple properties (in this case, 2 arrays stored in my struct).
Finally, setting the details panels to “scale to content” allows the whole list to be expandable/contractable per item, as you’d want for readability.

3 Likes