Fix T43621: Layout only using 65% of available width

Not really a bug, more like a silly typo.
This commit is contained in:
Julian Eisel 2015-02-11 14:32:49 +01:00
parent 88efcdc376
commit b7bac19aca
Notes: blender-bot 2023-02-14 09:30:46 +01:00
Referenced by issue #43621, BL GUI remark
1 changed files with 3 additions and 4 deletions

View File

@ -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)