mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user