Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2011-08-27 17:38:53 +0400
committerThomas Dinges <blender@dingto.org>2011-08-27 17:38:53 +0400
commitf4768033d876ed23567a71a2897c19c46753f788 (patch)
treed17f64037cd6035e20880585db5528cb185490b9 /development_api_navigator.py
parentd744270e737d5ecb192897e94549fde45405c469 (diff)
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!
Diffstat (limited to 'development_api_navigator.py')
-rw-r--r--development_api_navigator.py5
1 files changed, 3 insertions, 2 deletions
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")