diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-11-24 23:38:20 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-11-24 23:38:20 +0400 |
commit | d0b7fb5fdf90f09748f94a21e205be7f31ebbb25 (patch) | |
tree | 719a410df647e5e133f0909169d9bad61757d90a /source/blender | |
parent | 6e28ac2d7b241d9ee859650d58a89e2b7d441ea7 (diff) |
UI: small fix for forward compatibility, keep this style setting so opening
in older blender versions show correct panel header spacing still.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_style.c | 1 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c index 3caafe308d0..0e9dbaf3022 100644 --- a/source/blender/editors/interface/interface_style.c +++ b/source/blender/editors/interface/interface_style.c @@ -124,6 +124,7 @@ static uiStyle *ui_style_new(ListBase *styles, const char *name, short uifont_id style->buttonspacex= 8; style->buttonspacey= 2; style->panelspace= 8; + style->panelouter= 4; return style; } diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 322e8a77565..6c359f2c040 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -112,8 +112,9 @@ typedef struct uiStyle { short buttonspacex; short buttonspacey; short panelspace; + short panelouter; - short pad[2]; + short pad; } uiStyle; typedef struct uiWidgetColors { |