[Bf-extensions-cvs] [fb6f9569] master: addons-contrib: added missing keyword align

NBurn noreply at git.blender.org
Wed Jan 23 22:18:57 CET 2019


Commit: fb6f9569f7a66506c9a6cf95e843326d92c3bae8
Author: NBurn
Date:   Wed Jan 23 16:18:39 2019 -0500
Branches: master
https://developer.blender.org/rBACfb6f9569f7a66506c9a6cf95e843326d92c3bae8

addons-contrib: added missing keyword align

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

M	exact_edit/__init__.py
M	exact_edit/xedit_set_meas.py
M	np_station/__init__.py

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

diff --git a/exact_edit/__init__.py b/exact_edit/__init__.py
index 7cc0bd57..e070b30d 100644
--- a/exact_edit/__init__.py
+++ b/exact_edit/__init__.py
@@ -51,7 +51,7 @@ class XEditPanel(bpy.types.Panel):
 
     def draw(self, context):
         #layout = self.layout
-        row = self.layout.row(True)
+        row = self.layout.row(align=True)
         col = row.column()
         col.operator("view3d.xedit_set_meas_op", text="Set Measure", icon="EDIT")
         col.operator("view3d.xedit_free_rotate_op", text="Free Rotate", icon="FORCE_MAGNETIC")
diff --git a/exact_edit/xedit_set_meas.py b/exact_edit/xedit_set_meas.py
index 470e9a0b..e5a9bc79 100644
--- a/exact_edit/xedit_set_meas.py
+++ b/exact_edit/xedit_set_meas.py
@@ -332,14 +332,14 @@ class XEditMeasureInputPanel(bpy.types.Operator):
             self.float_new_meas = float(prev_popup_inputs[int_prev_meas])
             self.prev_meas = '-'
 
-        row = self.layout.row(True)
+        row = self.layout.row(align=True)
         # split row into 3 cells: 1st 1/3, 2nd 75% of 2/3, 3rd 25% of 2/3
         split = row.split(align=False)
         split.label(text="Measurement")
         split = row.split(percentage=0.75, align=False)
         split.prop(self, 'float_new_meas', text="")
         split.operator("object.store_meas_inp_op", text="Store")
-        row = self.layout.row(True)
+        row = self.layout.row(align=True)
         row.prop(self, 'prev_meas')
 
 
diff --git a/np_station/__init__.py b/np_station/__init__.py
index df9afeb9..a5c574f2 100644
--- a/np_station/__init__.py
+++ b/np_station/__init__.py
@@ -74,8 +74,8 @@ class NP020BasePanel(bpy.types.Panel):
     def draw(self, context):
         layout = self.layout
 
-        row = self.layout.row(True)
-        col = row.column(True)
+        row = self.layout.row(align=True)
+        col = row.column(align=True)
         col.label(text=" Create:",icon = "MESH_CUBE")
         col.separator()
         col.operator('object.np_020_float_poly', icon='MESH_DATA', text='float_poly')
@@ -83,8 +83,8 @@ class NP020BasePanel(bpy.types.Panel):
         col.operator('object.np_020_float_box', icon='MESH_CUBE', text='float_box')
 
         self.layout.separator()
-        row = self.layout.row(True)
-        col = row.column(True)
+        row = self.layout.row(align=True)
+        col = row.column(align=True)
         col.label(text=" Modify:",icon = "MODIFIER")
         col.separator()
         col.operator('object.np_020_point_move', icon='MAN_TRANS', text='point_move')
@@ -97,16 +97,16 @@ class NP020BasePanel(bpy.types.Panel):
 
 
         self.layout.separator()
-        row = self.layout.row(True)
-        col = row.column(True)
+        row = self.layout.row(align=True)
+        col = row.column(align=True)
         col.label(text=" Transfer:",icon = 'BRUSH_DATA')
         col.separator()
         col.operator('object.np_020_shader_brush', icon='MOD_DYNAMICPAINT', text='shader_brush')
 
 
         self.layout.separator()
-        row = self.layout.row(True)
-        col = row.column(True)
+        row = self.layout.row(align=True)
+        col = row.column(align=True)
         col.label(text=" Measure:",icon = "ALIGN")
         col.separator()
         col.operator('object.np_020_point_distance', icon='ARROW_LEFTRIGHT', text='point_distance')



More information about the Bf-extensions-cvs mailing list