Assure text 'wraps' in CloseError

This commit is contained in:
Ryan Schultz
2024-08-03 14:30:06 -05:00
parent 1ca0dfb1e0
commit a9e366b238
+5 -1
View File
@@ -100,7 +100,11 @@ class CloseError(bpy.types.Operator):
return {"FINISHED"}
def draw(self, context):
self.layout.label(text="Warning: your model may be damaged. Really continue?")
col = self.layout.column()
col.label(text="Warning: your model may be damaged.")
col.label(text="Really continue?")
def invoke(self, context, event):
return context.window_manager.invoke_props_dialog(self)