2.5 Buttons:
authorThomas Dinges <blender@dingto.org>
Fri, 10 Jul 2009 19:11:22 +0000 (19:11 +0000)
committerThomas Dinges <blender@dingto.org>
Fri, 10 Jul 2009 19:11:22 +0000 (19:11 +0000)
Small fixes:

* Removed Particle System Context header
* Lamp Type is a menu now, better for small displays.

release/ui/buttons_data_lamp.py
release/ui/buttons_particle.py

index e56f19b1dec8d86bb3a9d5a096d443ff9b65fdba..cf0ede8ec3be46cfa09fc6360ff7bb84fcbd2b0b 100644 (file)
@@ -48,7 +48,7 @@ class DATA_PT_lamp(DataButtonsPanel):
                
                lamp = context.lamp
 
-               layout.itemR(lamp, "type", expand=True)
+               layout.itemR(lamp, "type")
                
                split = layout.split()
                
index 652f46d967528523fb3565c2d4c9f712f854658e..ef7ede15d6e21ae4ea1899dc9bfc89dc46c09209 100644 (file)
@@ -20,7 +20,7 @@ class ParticleButtonsPanel(bpy.types.Panel):
 
 class PARTICLE_PT_particles(ParticleButtonsPanel):
        __idname__= "PARTICLE_PT_particles"
-       __label__ = " "
+       __no_header__ = True
 
        def poll(self, context):
                return (context.particle_system or context.object)