forked from bartvdbraak/blender
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:
parent
6e28ac2d7b
commit
d0b7fb5fdf
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user