Post #2200: ![](https://blenderartists.org/user_avatar/blenderartists.org/pinhead/48/528486_

📋 Metadata

🏷️ Tags

popup-dialog ui-customization beginner solved

  • Popup Dialog Editor
  • Python Scripting
  • Custom styling

💬 Content

Pinhead:

Is it possible for the buttons to adjust their size to their name?

Blender should do this by default. But looks like it fails in some cases.
You can try to increase the width of the pie slot a little with this code (Custom tab):

L.scale_x = 1.01; draw_menu("My Popup Dialog")

❤️ 1 likes


🔗 View on Blender Artists