diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-05 16:47:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-05 16:47:17 +0400 |
commit | 619df86faddf99bffa84b2d20bba69e68c4dc6a5 (patch) | |
tree | 901c8bbd4ce65c4e559dabcc49d44b5bdd951581 /source/blender/editors/interface/interface_intern.h | |
parent | 24292793a043f47d8b19653652d1c5c036441354 (diff) |
panel headers were not scaling with DPI properly
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index d185e839fdd..3f3665aae38 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -117,8 +117,8 @@ typedef enum { /* warn: rest of uiBut->flag in UI_interface.h */ /* internal panel drawing defines */ -#define PNL_GRID 4 -#define PNL_HEADER 20 +#define PNL_GRID (UI_UNIT_Y / 5) /* 4 default */ +#define PNL_HEADER UI_UNIT_Y /* 20 default */ /* panel->flag */ #define PNL_SELECT 1 |