Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevgeny Makarov <jenkm>2020-03-01 18:09:52 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-03-01 18:09:57 +0300
commit821ecbe805b49ea1a19c95e9352be66d29509c69 (patch)
treebe55a9b38538a3c80d6e7cdf49d590336693f5d7 /release/scripts/startup
parent0373e300eac025651132e4f8bc5f6228eeffe8a3 (diff)
UI: make Save Custom Studio Light pop-ups less wide
Differential Revision: https://developer.blender.org/D6977
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_operators/userpref.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/userpref.py b/release/scripts/startup/bl_operators/userpref.py
index b1bd879efa5..f78ee026927 100644
--- a/release/scripts/startup/bl_operators/userpref.py
+++ b/release/scripts/startup/bl_operators/userpref.py
@@ -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):