diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-02-18 16:57:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-02-18 16:57:54 +0300 |
commit | 8856b598fdb411bac0dd65053a1d91093c8cac3b (patch) | |
tree | 2272db65f171eeee0723eef8b8fb677dfe0c159d /release | |
parent | 5531f3093a62bffe4a0220180e740fa8ea3d76ef (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.py | 5 |
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' |