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:
authorThomas Dinges <blender@dingto.org>2010-05-16 14:21:00 +0400
committerThomas Dinges <blender@dingto.org>2010-05-16 14:21:00 +0400
commite1bf9d30bcbda27c997c451bd261dc01f70de137 (patch)
tree5bf526d2a9bdd5a98652e02ccf91354a5d065b61 /release/scripts/ui/properties_data_lamp.py
parentc2ffcb84975b3854daea54cd987895a0d6695b9b (diff)
Properties Window:
*The narrowui value was hard coded in all ui scripts, made an user preferences option. Basically this value determines on which area width, it should switch between dual/single column layout. ToDo: The Changes only take effect when reloading scripts/restarting Blender (after saving as default). Will maybe add the "Reload Scripts" operator next to the button in the future. * Small fix for Fluid Add Button, when in single column mode. Didn't expand like the other "Add" Buttons.
Diffstat (limited to 'release/scripts/ui/properties_data_lamp.py')
-rw-r--r--release/scripts/ui/properties_data_lamp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_data_lamp.py b/release/scripts/ui/properties_data_lamp.py
index 26f4b158c90..4338489ac5a 100644
--- a/release/scripts/ui/properties_data_lamp.py
+++ b/release/scripts/ui/properties_data_lamp.py
@@ -20,7 +20,7 @@
import bpy
from rna_prop_ui import PropertyPanel
-narrowui = 180
+narrowui = bpy.context.user_preferences.view.properties_width_check
class LAMP_MT_sunsky_presets(bpy.types.Menu):