diff options
author | Ton Roosendaal <ton@blender.org> | 2009-05-20 18:32:15 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-05-20 18:32:15 +0400 |
commit | 8f620ea5f0881eaf3a88516030037371aa397443 (patch) | |
tree | da99ba3e23dc0fca5b02bd93a98d2e98c42194f3 /source/blender/editors/space_node/node_header.c | |
parent | 2e91f1b1555b54784eda5d133d8a3b594d0b8797 (diff) |
2.5
- Made Normal (Sphere) button draw with nice AA
(check in node editor)
- Bugfix in alignment code, collumns were not drawing OK
- Picker buttons draw swatches again, and made them work.
Diffstat (limited to 'source/blender/editors/space_node/node_header.c')
-rw-r--r-- | source/blender/editors/space_node/node_header.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_node/node_header.c b/source/blender/editors/space_node/node_header.c index 002e4eea681..8c48d4b54e1 100644 --- a/source/blender/editors/space_node/node_header.c +++ b/source/blender/editors/space_node/node_header.c @@ -702,22 +702,22 @@ void node_header_buttons(const bContext *C, ARegion *ar) xmax= GetButStringLength("View"); uiDefPulldownBut(block, node_viewmenu, NULL, - "View", xco, yco-2, xmax-3, 24, ""); + "View", xco, yco, xmax-3, 20, ""); xco+= xmax; xmax= GetButStringLength("Select"); uiDefPulldownBut(block, node_selectmenu, NULL, - "Select", xco, yco-2, xmax-3, 24, ""); + "Select", xco, yco, xmax-3, 20, ""); xco+= xmax; xmax= GetButStringLength("Add"); uiDefPulldownBut(block, node_addmenu, NULL, - "Add", xco, yco-2, xmax-3, 24, ""); + "Add", xco, yco, xmax-3, 20, ""); xco+= xmax; xmax= GetButStringLength("Node"); uiDefPulldownBut(block, node_nodemenu, NULL, - "Node", xco, yco-2, xmax-3, 24, ""); + "Node", xco, yco, xmax-3, 20, ""); xco+= xmax; } |