I could be wrong but I think you need to set an explicit width on your “inventory_center” panel. If that’s not it I would try setting the background colors to a solid color of some sort. This can help you tell where each panel actually exists on the screen. I used that technique extensively to figure out alignments using nifty.
Well I think the problem is that it defaults to 100% width. Try setting something smaller. Right now your inventory panel is 100% width and is trying to center the “inventory_center” control but it is 100% width so it doesn’t do anything differently.
Setting it to a smaller value will center the panel. Since setting childLayout=“horizontal” lays out the elements inside from left to right, it really has no effect on whether the items inside the panel are centered or not. If I didn’t know how big the contents of the panel were, I would not be able to center those items. It would be nice to have a width=“wrapChildren” option.
I’m going to set this to resolved, simply because figured out how to solve it for my situation.