Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-01-11 04:26:16 +0300
committerMatt Ebb <matt@mke3.net>2010-01-11 04:26:16 +0300
commit9d67c720d5328f1918cc01d86a326c0aca3e0d06 (patch)
tree8e0e45988af66a092774dce4debf1ee720d4b8cb /source/blender/windowmanager
parentb6a1bc575bf683cac8048c9e9f76028466fb3b07 (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.c9
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);