From 0fb1f15ccae94779f6907ba1773caaf5b668e1a9 Mon Sep 17 00:00:00 2001 From: Yousef Khadadeh Date: Sat, 29 Nov 2025 06:56:06 +0300 Subject: [PATCH] Make lobby IDs longer --- include/Helpers/Networking/NetLibrary.hpp | 4 ++-- src/Toolbar.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/Helpers/Networking/NetLibrary.hpp b/include/Helpers/Networking/NetLibrary.hpp index d8b3ff6..66d5457 100644 --- a/include/Helpers/Networking/NetLibrary.hpp +++ b/include/Helpers/Networking/NetLibrary.hpp @@ -31,8 +31,8 @@ class NetLibrary { static void destroy(); - static constexpr size_t LOCALID_LEN = 5; - static constexpr size_t GLOBALID_LEN = 20; + static constexpr size_t LOCALID_LEN = 10; + static constexpr size_t GLOBALID_LEN = 40; struct DownloadProgress { uint64_t downloadedBytes; diff --git a/src/Toolbar.cpp b/src/Toolbar.cpp index 869fbf2..1119bca 100644 --- a/src/Toolbar.cpp +++ b/src/Toolbar.cpp @@ -1327,7 +1327,7 @@ void Toolbar::options_menu() { case CONNECT_MENU: { CLAY({ .layout = { - .sizing = {.width = CLAY_SIZING_FIT(500), .height = CLAY_SIZING_FIT(0) }, + .sizing = {.width = CLAY_SIZING_FIT(650), .height = CLAY_SIZING_FIT(0) }, .padding = CLAY_PADDING_ALL(io->theme->padding1), .childGap = io->theme->childGap1, .childAlignment = { .x = CLAY_ALIGN_X_CENTER, .y = CLAY_ALIGN_Y_TOP}, @@ -1623,7 +1623,7 @@ void Toolbar::options_menu() { case LOBBY_INFO_MENU: { CLAY({ .layout = { - .sizing = {.width = CLAY_SIZING_FIT(500), .height = CLAY_SIZING_FIT(0) }, + .sizing = {.width = CLAY_SIZING_FIT(650), .height = CLAY_SIZING_FIT(0) }, .padding = CLAY_PADDING_ALL(io->theme->padding1), .childGap = io->theme->childGap1, .childAlignment = { .x = CLAY_ALIGN_X_CENTER, .y = CLAY_ALIGN_Y_TOP},