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
path: root/source
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-01-21 04:30:32 +0300
committerMatt Ebb <matt@mke3.net>2010-01-21 04:30:32 +0300
commit6d06f54fbe6a8ad674264cdebc93460fea528b77 (patch)
tree0c004ad3488b72b77cc2647dbb4c3797620518c9 /source
parent469a8d45370b0d919939a4d86cf43494a06dc9a9 (diff)
Fix [#20742] splash screen: file names over 26 characters overlap with "Ctrl O"
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_widgets.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index c84d53748c4..d9219fecd5e 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -986,7 +986,10 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB
if (ELEM4(but->type, NUM, NUMABS, NUMSLI, SLI)) {
ui_text_label_rightclip(fstyle, but, rect);
}
- else if (ELEM(but->type, TEX, SEARCH_MENU)) {
+ else if (ELEM(but->type, TEX, SEARCH_MENU)) {
+ ui_text_leftclip(fstyle, but, rect);
+ }
+ else if ((but->block->flag & UI_BLOCK_LOOP) && (but->type == BUT)) {
ui_text_leftclip(fstyle, but, rect);
}
else but->ofs= 0;