mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-26 11:56:47 -08:00
Position the text correctly in the app list
This commit is contained in:
1 parent
22757c99ad
commit
fc3d13ca9d
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user