Small update to text boxes UI. It now works in single-column layout.

This commit is contained in:
William Reynish 2010-06-22 21:31:26 +00:00
parent e10bf2bc09
commit 8a6ea2584d

@ -378,25 +378,25 @@ class DATA_PT_textboxes(DataButtonsPanel):
boxy = layout.box()
split = boxy.split()
row = boxy.row()
col = split.column()
split = row.split()
col2 = col.column(align=True)
col2.label(text="Dimensions:")
col2.prop(box, "width", text="Width")
col2.prop(box, "height", text="Height")
col = split.column(align=True)
col.label(text="Dimensions:")
col.prop(box, "width", text="Width")
col.prop(box, "height", text="Height")
if wide_ui:
col = split.column()
col = split.column(align=True)
col.label(text="Offset:")
col.prop(box, "x", text="X")
col.prop(box, "y", text="Y")
row = col.row()
row.label(text="Offset:")
row.operator("font.textbox_remove", text='', icon='X').index = i
col2 = col.column(align=True)
col2.prop(box, "x", text="X")
col2.prop(box, "y", text="Y")
classes = [
DATA_PT_context_curve,