Skip to content

Commit

Permalink
chore: change wrapping and wording in setup window
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-is-cute committed Sep 8, 2023
1 parent d0684c8 commit 4c4e00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ui/SetUpPenumbraWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ public DrawStatus Draw() {
return DrawStatus.Continue;
}

var width = ImGui.CalcTextSize("m").X * 60;
var width = ImGui.CalcTextSize("m").X * 40;
using var textWrapPop = new OnDispose(ImGui.PopTextWrapPos);
ImGui.PushTextWrapPos(width);

ImGui.TextUnformatted("Heliosphere cannot function if Penumbra is not set up. Please set a mod directory in Penumbra, then try again.");
ImGui.TextUnformatted("Heliosphere cannot function if Penumbra is not set up. Please set a root directory in Penumbra, then try again.");

var buttonWidth = ImGui.GetContentRegionAvail().X;
if (ImGui.Button("Open Penumbra settings", new Vector2(buttonWidth, 0))) {
Expand Down

0 comments on commit 4c4e00a

Please sign in to comment.