Show slot name as the ghost text of an empty layout slot

When there are slots in a layout form that are empty, their ghost text right now is always empty_slot – even though each slot has a unique variable name set by the developer. I think that the ghost text should be whatever that python variable name, just like a label without any text’s ghost text is it’s python name to make it easier to identify which slot is which when either dropping components from the designer or when adding components programmatically.

1 Like