This commit moves the "get panel expansion from list data" function to UI_panels_end, which is an improvement because it's more centralized.
This commit moves the "get panel expansion from list data" function to UI_panels_end, which is an improvement because it's more centralized.