ui: Fix Button Spacing

This commit is contained in:
MasonT8198
2021-05-18 15:01:03 -07:00
committed by mborgerson
parent 1b3cf1ead8
commit 16906a8dbb
+2 -1
View File
@@ -926,7 +926,8 @@ public:
if (ImGui::Button("Help", ImVec2(120*g_ui_scale, 0))) {
xemu_open_web_browser("https://github.com/mborgerson/xemu/wiki/Networking");
}
ImGui::SameLine();
ImGui::SetCursorPosX(ImGui::GetWindowWidth()-(120+10)*g_ui_scale);
ImGui::SetItemDefaultFocus();
if (ImGui::Button(is_enabled ? "Disable" : "Enable", ImVec2(120*g_ui_scale, 0))) {