Position the text correctly in the app list
This commit is contained in:
@@ -409,10 +409,12 @@ void scenes::lobby::gui_connected()
|
|||||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
|
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, {20, 0});
|
||||||
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, disconnect_size.y + 80), 0);
|
ImGui::BeginChild("Main", ImGui::GetWindowSize() - ImGui::GetCursorPos() - ImVec2(0, disconnect_size.y + 80), 0);
|
||||||
|
|
||||||
|
ImGui::Indent(20);
|
||||||
if (server_name.empty())
|
if (server_name.empty())
|
||||||
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
|
ImGui::Text("%s", _S("Start an application on your computer or select one to start streaming."));
|
||||||
else
|
else
|
||||||
ImGui::Text("%s", fmt::format(_F("Start an application on {} or select one to start streaming."), server_name).c_str());
|
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_width = 400;
|
||||||
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;
|
float icon_spacing = ImGui::GetStyle().ItemSpacing.x;
|
||||||
|
|||||||
Reference in New Issue
Block a user