diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2018-11-13 14:17:10 +0300 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2018-11-13 14:17:10 +0300 |
commit | bdd408792006ed3569f6f83134821d966808753e (patch) | |
tree | accbb0fe1d00894fb9e02e713c5204486c7eb5b0 /io_coat3D | |
parent | 7f9a7d37cb30c234f843ef137d4a710fdae7463c (diff) |
small ui change
Diffstat (limited to 'io_coat3D')
-rw-r--r-- | io_coat3D/__init__.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py index d51cf2ed..1ea67078 100644 --- a/io_coat3D/__init__.py +++ b/io_coat3D/__init__.py @@ -789,7 +789,7 @@ from bpy import * from mathutils import Vector, Matrix class SCENE_PT_Main(bpy.types.Panel): - bl_label = "3D-Coat Applink" + bl_label = "3D-Coat" bl_space_type = "VIEW_3D" bl_region_type = "TOOLS" bl_context = "objectmode" @@ -815,12 +815,13 @@ class SCENE_PT_Main(bpy.types.Panel): #Here you add your GUI row = layout.row() row.prop(coat3D,"type",text = "") - row = layout.row() - colL = row.column() - colR = row.column() + flow = layout.grid_flow(row_major=True, columns=0, even_columns=False, even_rows=False, align=True) + + col = flow.column() - colR.operator("export_applink.pilgway_3d_coat", text="Transfer") - colL.operator("import_applink.pilgway_3d_coat", text="Update") + col.operator("export_applink.pilgway_3d_coat", text="Transfer") + col = flow.column() + col.operator("import_applink.pilgway_3d_coat", text="Update") class ObjectButtonsPanel(): bl_space_type = 'PROPERTIES' |