Correct strange icon scaling in preferences
authorCampbell Barton <ideasman42@gmail.com>
Mon, 21 Mar 2016 04:33:59 +0000 (15:33 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 21 Mar 2016 04:34:34 +0000 (15:34 +1100)
release/scripts/startup/bl_ui/space_userpref.py

index 7b7e6904246150597e73341e1b63d1563b117992..0100385174d4594a6c4cd8fbddf8b460fe987937 100644 (file)
@@ -24,7 +24,7 @@ from bpy.app.translations import contexts as i18n_contexts
 
 
 def opengl_lamp_buttons(column, lamp):
-    split = column.split(percentage=0.1)
+    split = column.row()
 
     split.prop(lamp, "use", text="", icon='OUTLINER_OB_LAMP' if lamp.use else 'LAMP_DATA')