[Bf-extensions-cvs] [820e795] master: archimesh: unify tab category

meta-androcto noreply at git.blender.org
Mon Aug 15 13:41:40 CEST 2016


Commit: 820e795a4fa4bd3fab315fe823f5a2b2a8050202
Author: meta-androcto
Date:   Mon Aug 15 21:41:19 2016 +1000
Branches: master
https://developer.blender.org/rBA820e795a4fa4bd3fab315fe823f5a2b2a8050202

archimesh: unify tab category

===================================================================

M	archimesh/__init__.py

===================================================================

diff --git a/archimesh/__init__.py b/archimesh/__init__.py
index 4f3f963..9167b8c 100644
--- a/archimesh/__init__.py
+++ b/archimesh/__init__.py
@@ -149,23 +149,19 @@ class Archi_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="Archimesh",
             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="")
+        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