mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-12 00:40:14 +00:00
gamelist: scroll fix (workaround)
This commit is contained in:
parent
f577af452d
commit
ab198c0c5f
@ -476,7 +476,9 @@ void game_list_frame::Refresh(bool fromDrive)
|
||||
gameList->verticalHeader()->setMaximumSectionSize(m_Icon_Size.height());
|
||||
gameList->resizeRowsToContents();
|
||||
gameList->resizeColumnToContents(0);
|
||||
gameList->scrollTo(gameList->currentIndex());
|
||||
gameList->scrollToTop(); // fix drunk scroll behaviour (may still not be perfect)
|
||||
gameList->scrollToBottom(); // fix drunk scroll behaviour (may still not be perfect)
|
||||
gameList->scrollTo(gameList->currentIndex(), QAbstractItemView::PositionAtCenter);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user