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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-02-18 16:57:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2011-02-18 16:57:54 +0300
commit8856b598fdb411bac0dd65053a1d91093c8cac3b (patch)
tree2272db65f171eeee0723eef8b8fb677dfe0c159d /release
parent5531f3093a62bffe4a0220180e740fa8ea3d76ef (diff)
Another small text space usability: option to show right margin (aka print marign)
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/space_text.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/ui/space_text.py b/release/scripts/ui/space_text.py
index df5967c9128..d1ccdf2acbb 100644
--- a/release/scripts/ui/space_text.py
+++ b/release/scripts/ui/space_text.py
@@ -95,6 +95,11 @@ class TEXT_PT_properties(bpy.types.Panel):
if text:
flow.prop(text, "use_tabs_as_spaces")
+ flow.prop(st, "show_margin")
+ col = flow.column()
+ col.active = st.show_margin
+ col.prop(st, "margin_column")
+
class TEXT_PT_find(bpy.types.Panel):
bl_space_type = 'TEXT_EDITOR'