nicer alignment for preset UI

This commit is contained in:
2010-06-27 21:35:31 +00:00
parent d9bcd249cf
commit 5cc2e136ec
3 changed files with 7 additions and 8 deletions

View File

@@ -155,9 +155,9 @@ class OBJECT_PT_groups(ObjectButtonsPanel):
ob = context.object
wide_ui = context.region.width > narrowui
split = layout.split(percentage=0.8, align=True)
split.operator("object.group_link", text="Add to Group")
split.operator("object.group_add", text="", icon='ZOOMIN')
row = layout.row(align=True)
row.operator("object.group_link", text="Add to Group")
row.operator("object.group_add", text="", icon='ZOOMIN')
# XXX, this is bad practice, yes, I wrote it :( - campbell
index = 0