[Bf-extensions-cvs] [86b5c3a] master: measurit: unify change tab category
meta-androcto
noreply at git.blender.org
Mon Aug 15 13:32:58 CEST 2016
Commit: 86b5c3a3f2db34014250d807fac5011c97ca34ca
Author: meta-androcto
Date: Mon Aug 15 21:32:38 2016 +1000
Branches: master
https://developer.blender.org/rBA86b5c3a3f2db34014250d807fac5011c97ca34ca
measurit: unify change tab category
===================================================================
M measureit/__init__.py
===================================================================
diff --git a/measureit/__init__.py b/measureit/__init__.py
index 8c869a0..cf6567c 100644
--- a/measureit/__init__.py
+++ b/measureit/__init__.py
@@ -88,23 +88,19 @@ class Measure_Pref(AddonPreferences):
bl_idname = __name__
category = StringProperty(
- name="Rename Tab Category",
+ name="Tab Category",
description="Choose a name for the category of the panel",
default="Measureit",
update=update_panel
)
def draw(self, context):
- layout = self.layout
- split_percent = 0.15
- split = layout.split(percentage=split_percent)
- col = split.column()
- col.label(text="Rename Tab Category:")
- col = split.column()
- colrow = col.row()
- colrow.alignment = 'LEFT'
- colrow.prop(self, "category", text="")
+ layout = self.layout
+ row = layout.row()
+ col = row.column()
+ col.label(text="Tab Category:")
+ col.prop(self, "category", text="")
# Define menu
# noinspection PyUnusedLocal
More information about the Bf-extensions-cvs
mailing list