pedantic pep8 warnings, mostly white space.
This commit is contained in:
@@ -367,21 +367,21 @@ class DATA_PT_textboxes(DataButtonsPanel):
|
||||
|
||||
text = context.curve
|
||||
wide_ui = context.region.width > narrowui
|
||||
|
||||
|
||||
split = layout.split()
|
||||
col = split.column()
|
||||
col.operator("font.textbox_add", icon='ZOOMIN')
|
||||
if wide_ui:
|
||||
col = split.column()
|
||||
|
||||
|
||||
for i, box in enumerate(text.textboxes):
|
||||
|
||||
|
||||
boxy = layout.box()
|
||||
|
||||
|
||||
row = boxy.row()
|
||||
|
||||
|
||||
split = row.split()
|
||||
|
||||
|
||||
col = split.column(align=True)
|
||||
|
||||
col.label(text="Dimensions:")
|
||||
@@ -390,13 +390,13 @@ class DATA_PT_textboxes(DataButtonsPanel):
|
||||
|
||||
if wide_ui:
|
||||
col = split.column(align=True)
|
||||
|
||||
|
||||
col.label(text="Offset:")
|
||||
col.prop(box, "x", text="X")
|
||||
col.prop(box, "y", text="Y")
|
||||
|
||||
row.operator("font.textbox_remove", text='', icon='X', emboss=False).index = i
|
||||
|
||||
|
||||
row.operator("font.textbox_remove", text='', icon='X', emboss=False).index = i
|
||||
|
||||
|
||||
classes = [
|
||||
DATA_PT_context_curve,
|
||||
|
||||
Reference in New Issue
Block a user