mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
Fix doc list file ext. column display under high DPI
This commit is contained in:
parent
eebc9d146f
commit
a8a802df2c
@ -396,8 +396,9 @@ void VerticalFileSwitcherListView::resizeColumns(int totalWidth)
|
|||||||
bool isExtColumn = !nppParams.getNppGUI()._fileSwitcherWithoutExtColumn;
|
bool isExtColumn = !nppParams.getNppGUI()._fileSwitcherWithoutExtColumn;
|
||||||
if (isExtColumn)
|
if (isExtColumn)
|
||||||
{
|
{
|
||||||
ListView_SetColumnWidth(_hSelf, 0, totalWidth - 50);
|
int extWidthDyn = nppParams._dpiManager.scaleX(50);
|
||||||
ListView_SetColumnWidth(_hSelf, 1, 50);
|
ListView_SetColumnWidth(_hSelf, 0, totalWidth - extWidthDyn);
|
||||||
|
ListView_SetColumnWidth(_hSelf, 1, extWidthDyn);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user