diff options
author | Thomas Dinges <blender@dingto.org> | 2013-04-14 13:17:03 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-04-14 13:17:03 +0400 |
commit | e04b7dc209147ecc9f1e504c177e694c49ef09e8 (patch) | |
tree | d5ef6ff8a6002c7fff8339d529f9195566d07061 /release/scripts | |
parent | 356b393c0a587d40901f9dc744f6687ceaa96d11 (diff) |
Node Toolbar:
* Use column() layout, this way it uses a bit less space.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/modules/nodeitems_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/modules/nodeitems_utils.py b/release/scripts/modules/nodeitems_utils.py index ad7ff94a09a..d63999cbe96 100644 --- a/release/scripts/modules/nodeitems_utils.py +++ b/release/scripts/modules/nodeitems_utils.py @@ -69,8 +69,9 @@ def register_node_ui(): # works as draw function for both menus and panels def draw_node_item(self, context): layout = self.layout + col = layout.column() for item in self.category.items: - op = layout.operator("node.add_node", text=item.label) + op = col.operator("node.add_node", text=item.label) op.type = item.nodetype op.use_transform = True |