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:
authorMatt Ebb <matt@mke3.net>2009-07-29 17:33:14 +0400
committerMatt Ebb <matt@mke3.net>2009-07-29 17:33:14 +0400
commit2ee51efd6b5c3c0f90c6b0b07f7b4fc168cd9860 (patch)
treedf262be29726e634c9eba58111b22b49f61079a3 /release
parentf75005c2a89f6cc5f1bdac33e26341a14ed92888 (diff)
* Reverted some superfluous button alignment. The
'Align' should not be overused, it gets quite ugly (and loses communication impact) when used between buttons of different types. Dependencies should be shown via layout and greying out. These lamp panels still needs some cleaning up too...
Diffstat (limited to 'release')
-rw-r--r--release/ui/buttons_data_lamp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/ui/buttons_data_lamp.py b/release/ui/buttons_data_lamp.py
index 4a61684c8e2..dbc00ec0c39 100644
--- a/release/ui/buttons_data_lamp.py
+++ b/release/ui/buttons_data_lamp.py
@@ -49,7 +49,7 @@ class DATA_PT_lamp(DataButtonsPanel):
split = layout.split()
col = split.column()
- sub = col.column(align=True)
+ sub = col.column()
sub.itemR(lamp, "color", text="")
sub.itemR(lamp, "energy")
col.itemR(lamp, "negative")
@@ -67,7 +67,7 @@ class DATA_PT_lamp(DataButtonsPanel):
if lamp.type in ('POINT', 'SPOT'):
col = split.column()
col.itemL(text="Falloff:")
- sub = col.column(align=True)
+ sub = col.column()
sub.itemR(lamp, "falloff_type", text="")
sub.itemR(lamp, "distance")
col.itemR(lamp, "sphere")
@@ -84,8 +84,8 @@ class DATA_PT_lamp(DataButtonsPanel):
if lamp.type == 'AREA':
col = split.column()
col.itemL(text="Shape:")
+ col.itemR(lamp, "shape", text="")
sub = col.column(align=True)
- sub.itemR(lamp, "shape", text="")
if (lamp.shape == 'SQUARE'):
sub.itemR(lamp, "size")
elif (lamp.shape == 'RECTANGLE'):
@@ -311,4 +311,4 @@ bpy.types.register(DATA_PT_lamp)
bpy.types.register(DATA_PT_falloff_curve)
bpy.types.register(DATA_PT_spot)
bpy.types.register(DATA_PT_shadow)
-bpy.types.register(DATA_PT_sunsky)
+bpy.types.register(DATA_PT_sunsky) \ No newline at end of file