addons-contrib: added missing keyword align
authorNBurn <7nburn@gmail.com>
Wed, 23 Jan 2019 21:18:39 +0000 (16:18 -0500)
committerNBurn <7nburn@gmail.com>
Wed, 23 Jan 2019 21:18:39 +0000 (16:18 -0500)
exact_edit/__init__.py
exact_edit/xedit_set_meas.py
np_station/__init__.py

index 7cc0bd5..e070b30 100644 (file)
@@ -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")
index 470e9a0..e5a9bc7 100644 (file)
@@ -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')
 
 
index df9afeb..a5c574f 100644 (file)
@@ -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')