This commit is contained in:
Anna 2022-09-06 03:59:39 -04:00
parent ccbd3ed9a7
commit 62bd304d0f
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ internal class MainWindow {
return;
}
ImGui.SetNextWindowSize(new Vector2(475, 300), ImGuiCond.FirstUseEver);
ImGui.SetNextWindowSize(new Vector2(475, 350), ImGuiCond.FirstUseEver);
if (!ImGui.Begin(this.Plugin.Name, ref this.Visible)) {
ImGui.End();
return;

View File

@ -153,7 +153,7 @@ internal class Write : ITab {
actualText = preview.ToString();
var actualSize = ImGui.CalcTextSize(actualText);
ImGui.Dummy(new Vector2(1, imageHeight / 2 - actualSize.Y / 2));
ImGui.Dummy(new Vector2(1, imageHeight / 2 - actualSize.Y / 2 - ImGui.GetStyle().ItemSpacing.Y));
ImGui.TextUnformatted(actualText);
}
@ -176,7 +176,7 @@ internal class Write : ITab {
}
}
if (ImGui.BeginCombo("Glyph", this._glyph.ToString())) {
if (ImGui.BeginCombo("Glyph", $"{this._glyph + 1}")) {
var tooltipShown = false;
for (var i = 0; i < 5; i++) {