nicer alignment for preset UI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user