diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-08 14:15:34 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-08 14:15:34 +0300 |
commit | dc3eae6a6b6c3c5ebb9caeed157736c25010519c (patch) | |
tree | f6609ea7976d453502ce69f4fb0d1032a45ca14c /plugins | |
parent | 4de982c5f0a06e4a77b479b63b700f343a2ca80d (diff) |
fixes #4717 (Scriver: при отключённом никлисте справа возникает пустое поле)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index f2e3f810b8..1241496857 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -574,7 +574,7 @@ void CMsgDialog::MessageDialogResize(int w, int h) logH = h - hSplitterPos - toolbarHeight - infobarInnerHeight - SPLITTER_HEIGHT;
hdwp = BeginDeferWindowPos(8);
- hdwp = DeferWindowPos(hdwp, hwndLog, nullptr, 1, 0, bNick ? w - pdat->iSplitterX - 1 : messageEditWidth, logH, SWP_NOZORDER);
+ hdwp = DeferWindowPos(hdwp, hwndLog, nullptr, 1, 0, bNick ? w - pdat->iSplitterX - 1 : w - 2, logH, SWP_NOZORDER);
hdwp = DeferWindowPos(hdwp, m_nickList.GetHwnd(), nullptr, w - pdat->iSplitterX + 2, 0, pdat->iSplitterX - 3, logH, SWP_NOZORDER);
hdwp = DeferWindowPos(hdwp, m_splitterX.GetHwnd(), nullptr, w - pdat->iSplitterX, 1, 2, logH, SWP_NOZORDER);
|