Position the text correctly in the app list

This commit is contained in:
Guillaume Meunier committed 2025-08-03 11:03:33 +02:00
1 parent 22757c99ad
commit fc3d13ca9d
1 file changed
+2
+2
View File
@@ -409,10 +409,12 @@ void scenes::lobby::gui_connected()
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, disconnect_size.y + 80), 0);
ImGui::Indent(20);
if (server_name.empty())
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
else
ImGui::Text("%s", fmt::format(_F("Start an application on {} or select one to start streaming."), server_name).c_str());
ImGui::Unindent();
float icon_width = 400;
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;