mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Auto resize last column (#265)
This commit is contained in:
parent
00968acc1d
commit
551f821109
5 changed files with 185 additions and 113 deletions
|
@ -334,6 +334,16 @@ struct fmt::formatter<CrashDump> : formatter<string_view> {
|
|||
};
|
||||
#endif
|
||||
|
||||
namespace DefaultColumnSize {
|
||||
enum : uint32 {
|
||||
name = 500u,
|
||||
version = 60u,
|
||||
dlc = 50u,
|
||||
game_time = 140u,
|
||||
game_started = 160u,
|
||||
region = 80u,
|
||||
};
|
||||
};
|
||||
|
||||
struct CemuConfig
|
||||
{
|
||||
|
@ -402,7 +412,12 @@ struct CemuConfig
|
|||
std::string game_list_column_order;
|
||||
struct
|
||||
{
|
||||
int name = -3, version = -3, dlc = -3, game_time = -3, game_started = -3, region = -3;
|
||||
uint32 name = DefaultColumnSize::name;
|
||||
uint32 version = DefaultColumnSize::version;
|
||||
uint32 dlc = DefaultColumnSize::dlc;
|
||||
uint32 game_time = DefaultColumnSize::game_time;
|
||||
uint32 game_started = DefaultColumnSize::game_started;
|
||||
uint32 region = DefaultColumnSize::region;
|
||||
} column_width{};
|
||||
|
||||
// graphics
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue