From 1abb60af8069770363039db00219ce00628f1ce3 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Sun, 21 Oct 2012 11:04:04 +0000 Subject: [PATCH] Texture UI: * Use the full space for the Texture ID Block. --- release/scripts/startup/bl_ui/properties_texture.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py index d4752e4e7b5..e623d034b48 100644 --- a/release/scripts/startup/bl_ui/properties_texture.py +++ b/release/scripts/startup/bl_ui/properties_texture.py @@ -149,20 +149,15 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel, Panel): col.operator("texture.slot_move", text="", icon='TRIA_DOWN').type = 'DOWN' col.menu("TEXTURE_MT_specials", icon='DOWNARROW_HLT', text="") - split = layout.split(percentage=0.65) - col = split.column() - if tex_collection: - col.template_ID(idblock, "active_texture", new="texture.new") + layout.template_ID(idblock, "active_texture", new="texture.new") elif node: - col.template_ID(node, "texture", new="texture.new") + layout.template_ID(node, "texture", new="texture.new") elif idblock: - col.template_ID(idblock, "texture", new="texture.new") + layout.template_ID(idblock, "texture", new="texture.new") if pin_id: - col.template_ID(space, "pin_id") - - col = split.column() + layout.template_ID(space, "pin_id") if tex: split = layout.split(percentage=0.2)