diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-11 04:26:16 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-11 04:26:16 +0300 |
commit | 9d67c720d5328f1918cc01d86a326c0aca3e0d06 (patch) | |
tree | 8e0e45988af66a092774dce4debf1ee720d4b8cb /source/blender/windowmanager | |
parent | b6a1bc575bf683cac8048c9e9f76028466fb3b07 (diff) |
* Tweak for splash screen rev. info - dalai, does this look ok on your machine?
* Added very feint separator lines in menus
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 69b3cbc51ab..1d9687a2d94 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -960,8 +960,9 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *arg_unuse *cp = 0; } - ver_width = BLF_width(version_str); - rev_width = BLF_width(revision_str); + BLF_size(style->widgetlabel.points, U.dpi); + ver_width = BLF_width(version_str)+5; + rev_width = BLF_width(revision_str)+5; #endif //NAN_BUILDINFO block= uiBeginBlock(C, ar, "_popup", UI_EMBOSS); @@ -990,7 +991,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *arg_unuse uiItemO(col, NULL, ICON_URL, "HELP_OT_blender_website"); uiItemO(col, NULL, ICON_URL, "HELP_OT_user_community"); uiItemO(col, NULL, ICON_URL, "HELP_OT_python_api"); - uiItemS(col); + uiItemL(col, "", 0); col = uiLayoutColumn(split, 0); uiItemL(col, "Recent", 0); @@ -1001,7 +1002,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *arg_unuse uiItemStringO(col, display_name, ICON_FILE_BLEND, "WM_OT_open_mainfile", "path", recent->filename); } - uiItemS(col); + uiItemL(col, "", 0); uiCenteredBoundsBlock(block, 0.0f); uiEndBlock(C, block); |