[Bf-blender-cvs] [b7bac19] master: Fix T43621: Layout only using 65% of available width

Julian Eisel noreply at git.blender.org
Wed Feb 11 14:42:21 CET 2015


Commit: b7bac19acaa41567967a43ae8aa8756e23f27a83
Author: Julian Eisel
Date:   Wed Feb 11 14:32:49 2015 +0100
Branches: master
https://developer.blender.org/rBb7bac19acaa41567967a43ae8aa8756e23f27a83

Fix T43621: Layout only using 65% of available width

Not really a bug, more like a silly typo.

===================================================================

M	release/scripts/startup/bl_ui/properties_texture.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index 23b5e57..a48e062 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -174,14 +174,13 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel, Panel):
             if user or pin_id:
                 layout.separator()
 
-                split = layout.split(percentage=0.65)
-                col = split.column()
+                row = layout.row()
 
                 if pin_id:
-                    col.template_ID(space, "pin_id")
+                    row.template_ID(space, "pin_id")
                 else:
                     propname = context.texture_user_property.identifier
-                    col.template_ID(user, propname, new="texture.new")
+                    row.template_ID(user, propname, new="texture.new")
 
                 if tex:
                     split = layout.split(percentage=0.2)




More information about the Bf-blender-cvs mailing list