archimesh: unify tab category

This commit is contained in:
Brendon Murphy 2016-08-15 21:41:19 +10:00
parent 86b5c3a3f2
commit 820e795a4f
1 changed files with 6 additions and 10 deletions

View File

@ -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="")
layout = self.layout
row = layout.row()
col = row.column()
col.label(text="Tab Category:")
col.prop(self, "category", text="")
# Define menu
# noinspection PyUnusedLocal