mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 16:24:27 +02:00
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;
|
height = win.bottom - win.top;
|
||||||
|
|
||||||
_hPText = ::CreateWindowEx(0, TEXT("STATIC"), TEXT(""),
|
_hPText = ::CreateWindowEx(0, TEXT("STATIC"), TEXT(""),
|
||||||
WS_CHILD | WS_VISIBLE | BS_TEXT,
|
WS_CHILD | WS_VISIBLE | BS_TEXT | SS_PATHELLIPSIS,
|
||||||
5, 5,
|
5, 5,
|
||||||
width - 10, 20, _hwnd, NULL, _hInst, NULL);
|
width - 10, 20, _hwnd, NULL, _hInst, NULL);
|
||||||
HFONT hf = (HFONT)::GetStockObject(DEFAULT_GUI_FONT);
|
HFONT hf = (HFONT)::GetStockObject(DEFAULT_GUI_FONT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user