Auto-fit filename in FindInFiles progress window
This way the filename doesn't spread on multiple lines.
This commit is contained in:
parent
ccee6ea29d
commit
43ac186d2b
|
@ -3076,7 +3076,7 @@ int Progress::createProgressWindow()
|
|||
height = win.bottom - win.top;
|
||||
|
||||
_hPText = ::CreateWindowEx(0, TEXT("STATIC"), TEXT(""),
|
||||
WS_CHILD | WS_VISIBLE | BS_TEXT,
|
||||
WS_CHILD | WS_VISIBLE | BS_TEXT | SS_PATHELLIPSIS,
|
||||
5, 5,
|
||||
width - 10, 20, _hwnd, NULL, _hInst, NULL);
|
||||
HFONT hf = (HFONT)::GetStockObject(DEFAULT_GUI_FONT);
|
||||
|
|
Loading…
Reference in New Issue