UI: small fix for forward compatibility, keep this style setting so opening

in older blender versions show correct panel header spacing still.
This commit is contained in:
Brecht Van Lommel 2011-11-24 19:38:20 +00:00
parent 6e28ac2d7b
commit d0b7fb5fdf
2 changed files with 3 additions and 1 deletions

@ -124,6 +124,7 @@ static uiStyle *ui_style_new(ListBase *styles, const char *name, short uifont_id
style->buttonspacex= 8; style->buttonspacex= 8;
style->buttonspacey= 2; style->buttonspacey= 2;
style->panelspace= 8; style->panelspace= 8;
style->panelouter= 4;
return style; return style;
} }

@ -112,8 +112,9 @@ typedef struct uiStyle {
short buttonspacex; short buttonspacex;
short buttonspacey; short buttonspacey;
short panelspace; short panelspace;
short panelouter;
short pad[2]; short pad;
} uiStyle; } uiStyle;
typedef struct uiWidgetColors { typedef struct uiWidgetColors {