Post #4808: I may not fully understand your issue, but I suspect this might be the cause.
📋 Metadata
- Author: Pluglug
- Date: 2023-07-24 02:15:27
- Type:
answer - Quality Score: 8/10
- Reply to: post_04803
- Replies (2): post_04809, post_04810
🏷️ Tags
popup-dialog ui-layout intermediate solved
⚙️ Related PME Features
- Popup Dialog Editor
- Property Editor
- Python Scripting
💬 Content
I may not fully understand your issue, but I suspect this might be the cause.
First off, you’re trying to display ‘Location’ in the Tool Header, right? You can only add items horizontally in that area, you can’t add items vertically. So far, so good?
Now, let’s see what happens when you enter C.object.location in the property tab. Can you see the items lining up vertically? This means that when you first added ‘location’ to the Tool Header and it seemed like only one item was being displayed, it’s because the remaining two items were outside the rendering range of the Tool Header.

In other words, you need a method to display C.object.location horizontally. In that case, you would enter the following in the custom tab:
L.row(align=True).prop(C.object, 'location')
This should work for now. Please give it a try. If you need additional options, consult the official reference.
https://docs.blender.org/api/3.3/bpy.types.UILayout.html
❤️ 2 likes