diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-11-16 00:19:15 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-11-16 00:19:15 +0400 |
commit | 4cc8677f1cc6d7524bc67c333b240ff98df9649c (patch) | |
tree | eb640fe8dd658d17c659441b20243c2209f7ad2c /source | |
parent | e8502b7f5fb4797490619c57c6542d8c921c3e2c (diff) |
Fix: part of 3d view header disappears when collapsing menus.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_header.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c index 6eafb10d74c..b9513ab0880 100644 --- a/source/blender/editors/space_view3d/view3d_header.c +++ b/source/blender/editors/space_view3d/view3d_header.c @@ -490,10 +490,9 @@ void uiTemplateHeader3D(uiLayout *layout, struct bContext *C) else v3d->modeselect = OB_MODE_OBJECT; - uiBlockBeginAlign(block); + row= uiLayoutRow(layout, 1); uiDefIconTextButS(block, MENU, B_MODESELECT, object_mode_icon(v3d->modeselect), view3d_modeselect_pup(scene) , 0,0,126 * dpi_fac, UI_UNIT_Y, &(v3d->modeselect), 0, 0, 0, 0, TIP_("Mode")); - uiBlockEndAlign(block); /* Draw type */ uiItemR(layout, &v3dptr, "viewport_shade", UI_ITEM_R_ICON_ONLY, "", ICON_NONE); |