UI: Reduce whitespace in custom node categories

This makes the long "Curve" category take up less space.
This commit is contained in:
Hans Goudey 2021-10-11 11:10:39 -05:00
parent c1b4abf527
commit bb6cc67d05
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ def register_node_categories(identifier, cat_list):
# works as draw function for menus
def draw_node_item(self, context):
layout = self.layout
col = layout.column()
col = layout.column(align=True)
for item in self.category.items(context):
item.draw(item, col, context)