Post #2432: My bad. You need to save/restore the layout:

📋 Metadata

  • Author: roaoao
  • Date: 2019-06-15 09:19:34
  • Type: answer
  • Quality Score: 7/10
  • Reply to: post_02427

🏷️ Tags

popup-dialog scripting intermediate solved

  • Popup Dialog Editor
  • Python Scripting

💬 Content

My bad. You need to save/restore the layout:

lh.save(); row = lh.row(); row.scale_x = 0.5; row.scale_y = 0.5; draw_menu("My Popup Dialog"); lh.restore()

Will add some easier way to scale the popup in the next version.


❤️ 1 likes


🔗 View on Blender Artists