From f4768033d876ed23567a71a2897c19c46753f788 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Sat, 27 Aug 2011 13:38:53 +0000 Subject: Addon UI Cleanup, Part 2 * You only have to do layout.prop if you want 1 property, no need for row then! * Use col, row, sub as variable names, not colsub, rowsub, row2 etc please. * Povray Addon: Still used a lot of splits, you need no split when you only have 1 column! --- development_api_navigator.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'development_api_navigator.py') diff --git a/development_api_navigator.py b/development_api_navigator.py index 6e7079af..23e0f0f6 100644 --- a/development_api_navigator.py +++ b/development_api_navigator.py @@ -627,9 +627,10 @@ class OBJECT_PT_api_navigator(ApiNavigator, bpy.types.Panel): ###### layout ###### layout = self.layout - col = layout.column() - layout.label(text='Tree Structure') + + layout.label(text="Tree Structure:") col = layout.column(align=True) + col.prop(bpy.context.window_manager.api_nav_props, 'path', text='') row = col.row() row.operator("api_navigator.parent", text="Parent", icon="BACK") -- cgit v1.2.3