[Bf-extensions-cvs] [bdd40879] blender2.8: small ui change
Kalle-Samuli Riihikoski
noreply at git.blender.org
Tue Nov 13 12:20:06 CET 2018
Commit: bdd408792006ed3569f6f83134821d966808753e
Author: Kalle-Samuli Riihikoski
Date: Tue Nov 13 13:17:10 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBAbdd408792006ed3569f6f83134821d966808753e
small ui change
===================================================================
M io_coat3D/__init__.py
===================================================================
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'
More information about the Bf-extensions-cvs
mailing list