mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
UI: make Save Custom Studio Light pop-ups less wide
Differential Revision: https://developer.blender.org/D6977
This commit is contained in:
parent
0373e300ea
commit
821ecbe805
1 changed files with 2 additions and 2 deletions
|
|
@ -1040,7 +1040,7 @@ class PREFERENCES_OT_studiolight_new(Operator):
|
|||
if os.path.isfile(filepath_final):
|
||||
if not self.ask_overide:
|
||||
self.ask_overide = True
|
||||
return wm.invoke_props_dialog(self, width=600)
|
||||
return wm.invoke_props_dialog(self, width=320)
|
||||
else:
|
||||
for studio_light in prefs.studio_lights:
|
||||
if studio_light.name == filename:
|
||||
|
|
@ -1066,7 +1066,7 @@ class PREFERENCES_OT_studiolight_new(Operator):
|
|||
|
||||
def invoke(self, context, _event):
|
||||
wm = context.window_manager
|
||||
return wm.invoke_props_dialog(self, width=600)
|
||||
return wm.invoke_props_dialog(self, width=320)
|
||||
|
||||
|
||||
class PREFERENCES_OT_studiolight_uninstall(Operator):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue