diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c index 86c2ba9619ddc35f9baa41f3d3e128fae52c897c..8f88c1a372d618147b1f45c7ec7533e21d1206ed 100644 --- a/src/uifc/uifc32.c +++ b/src/uifc/uifc32.c @@ -561,8 +561,13 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar width=j; } } - if(!(mode&WIN_NOBRDR) && api->mode&UIFC_MOUSE && bline&BL_HELP && width<8) - width=8; + /* Determine minimum widths here to accomodate mouse "icons" in border */ + if(!(mode&WIN_NOBRDR) && api->mode&UIFC_MOUSE) { + if(bline&BL_HELP && width<8) + width=8; + else if(width<5) + width=5; + } if(width>(s_right+1)-s_left) { width=(s_right+1)-s_left; if(title_len>(width-hbrdrsize-2)) {