diff options
author | Ton Roosendaal <ton@blender.org> | 2012-12-20 20:50:39 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-12-20 20:50:39 +0400 |
commit | 566d35036961dbe2c786b70a2972ca77055420a6 (patch) | |
tree | 0d970133be2850333bc4e97c59b9fd505de4e931 /release/scripts | |
parent | 4d3f0cb8c1e7a47dda400727dea8657fb74265d8 (diff) |
UI todo:
- Recoded soft shadow drawing for menus, giving better predictable results
(and round off nicer on top side, was looking bad still)
- Brought it under DPI control
- Added Theme setting to control size and strength for it.
Max size 24 pix:
http://wiki.blender.org/index.php/File:MenuShadow.png
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 7c6c8dce954..695e09ee025 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -686,6 +686,28 @@ class USERPREF_PT_theme(Panel): col.separator() ui = theme.user_interface + + col.label("Menu Shadow:") + + row = col.row() + + subsplit = row.split(percentage=0.95) + + padding = subsplit.split(percentage=0.15) + colsub = padding.column() + colsub = padding.column() + colsub.row().prop(ui, "menu_shadow_fac") + + subsplit = row.split(percentage=0.85) + + padding = subsplit.split(percentage=0.15) + colsub = padding.column() + colsub = padding.column() + colsub.row().prop(ui, "menu_shadow_width") + + col.separator() + col.separator() + col.label("Icons:") row = col.row() |