Fix for Emulator Issue #10267: Game list column sizes are being incorrectly calculated.

Default column width was being used for  math related to automatic column sizing, in the case of COLUMN_SIZE the default width was -1  which resulted in an issue where an errant scrollbar would appear.
This commit is contained in:
Douglas 2017-05-08 17:40:42 -07:00
parent 3d304d6938
commit 3e1cc46523

View File

@ -1461,7 +1461,7 @@ void CGameListCtrl::AutomaticColumnWidth()
if (c.resizable)
visible_columns.push_back(c.id);
else
remaining_width -= c.default_width;
remaining_width -= GetColumnWidth(c.id);
}
}