Spacing with GlobalScale

This commit is contained in:
xPumaa
2022-07-08 18:16:09 +02:00
parent 4c096c1ed4
commit 98e608d852

View File

@@ -369,7 +369,7 @@ namespace MareSynchronos.UI
ImGui.PushFont(UiBuilder.IconFont); ImGui.PushFont(UiBuilder.IconFont);
ImGui.Text(FontAwesomeIcon.Upload.ToIconString()); ImGui.Text(FontAwesomeIcon.Upload.ToIconString());
ImGui.PopFont(); ImGui.PopFont();
ImGui.SameLine(35); ImGui.SameLine(35 * ImGuiHelpers.GlobalScale);
if (currentUploads.Any()) if (currentUploads.Any())
{ {
@@ -394,7 +394,7 @@ namespace MareSynchronos.UI
ImGui.PushFont(UiBuilder.IconFont); ImGui.PushFont(UiBuilder.IconFont);
ImGui.Text(FontAwesomeIcon.Download.ToIconString()); ImGui.Text(FontAwesomeIcon.Download.ToIconString());
ImGui.PopFont(); ImGui.PopFont();
ImGui.SameLine(35); ImGui.SameLine(35 * ImGuiHelpers.GlobalScale);
if (currentDownloads.Any()) if (currentDownloads.Any())
{ {