2.5: fix for layout engine, increase default size of number buttons

in headers.
This commit is contained in:
2009-08-15 19:31:49 +00:00
parent be1efd74d1
commit 41dc419dcb

View File

@@ -766,6 +766,8 @@ static void ui_item_rna_size(uiLayout *layout, char *name, int icon, PropertyRNA
w += UI_UNIT_X;
else if(type == PROP_ENUM)
w += UI_UNIT_X/2;
else if(type == PROP_FLOAT || type == PROP_INT)
w += UI_UNIT_X*2;
}
*r_w= w;