mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	make the name column larger as default
This commit is contained in:
		
							parent
							
								
									5d5dd66d92
								
							
						
					
					
						commit
						0176e2786f
					
				@ -109,7 +109,11 @@ void GameList::SaveInterfaceLayout()
 | 
				
			|||||||
void GameList::LoadInterfaceLayout()
 | 
					void GameList::LoadInterfaceLayout()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    auto header = tree_view->header();
 | 
					    auto header = tree_view->header();
 | 
				
			||||||
    header->restoreState(UISettings::values.gamelist_header_state);
 | 
					    if (!header->restoreState(UISettings::values.gamelist_header_state)) {
 | 
				
			||||||
 | 
					        // We are using the name column to display icons and titles
 | 
				
			||||||
 | 
					        // so make it as large as possible as default.
 | 
				
			||||||
 | 
					        header->resizeSection(COLUMN_NAME, header->width());
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    item_model->sort(header->sortIndicatorSection(), header->sortIndicatorOrder());
 | 
					    item_model->sort(header->sortIndicatorSection(), header->sortIndicatorOrder());
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user