Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <william@reynish.com>2010-06-23 01:31:26 +0400
committerWilliam Reynish <william@reynish.com>2010-06-23 01:31:26 +0400
commit8a6ea2584dcfdb0fe3e8fcf4d61825b505fec30a (patch)
tree94fb1a9ca7f8379a4d4f254bf39a5d0622220fc7 /release
parente10bf2bc09fa035558f3b7bc67a15e3e1d2b3d18 (diff)
Small update to text boxes UI. It now works in single-column layout.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_data_curve.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/release/scripts/ui/properties_data_curve.py b/release/scripts/ui/properties_data_curve.py
index d807fa1631b..b4d17104cfc 100644
--- a/release/scripts/ui/properties_data_curve.py
+++ b/release/scripts/ui/properties_data_curve.py
@@ -378,25 +378,25 @@ class DATA_PT_textboxes(DataButtonsPanel):
boxy = layout.box()
- split = boxy.split()
+ row = boxy.row()
- col = split.column()
-
- col2 = col.column(align=True)
- col2.label(text="Dimensions:")
- col2.prop(box, "width", text="Width")
- col2.prop(box, "height", text="Height")
+ split = row.split()
+
+ 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)
- row = col.row()
- row.label(text="Offset:")
- row.operator("font.textbox_remove", text='', icon='X').index = i
+ col.label(text="Offset:")
+ col.prop(box, "x", text="X")
+ col.prop(box, "y", text="Y")
- col2 = col.column(align=True)
- col2.prop(box, "x", text="X")
- col2.prop(box, "y", text="Y")
+ row.operator("font.textbox_remove", text='', icon='X').index = i
+
classes = [
DATA_PT_context_curve,