diff options
author | meta-androcto <meta.androcto1@gmail.com> | 2016-08-15 14:41:19 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2016-08-15 14:41:19 +0300 |
commit | 820e795a4fa4bd3fab315fe823f5a2b2a8050202 (patch) | |
tree | db580aa30c70a373c77f7177c2a07c2766a7c258 /archimesh | |
parent | 86b5c3a3f2db34014250d807fac5011c97ca34ca (diff) |
archimesh: unify tab category
Diffstat (limited to 'archimesh')
-rw-r--r-- | archimesh/__init__.py | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/archimesh/__init__.py b/archimesh/__init__.py index 4f3f963f..9167b8cd 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 |