sizes
This commit is contained in:
parent
0a57f9edbc
commit
8c9674ee2e
|
@ -1,3 +1,4 @@
|
|||
using System.Numerics;
|
||||
using ImGuiNET;
|
||||
using OrangeGuidanceTomestone.Ui.MainWindowTabs;
|
||||
|
||||
|
@ -22,6 +23,7 @@ internal class MainWindow {
|
|||
return;
|
||||
}
|
||||
|
||||
ImGui.SetNextWindowSize(new Vector2(475, 300), ImGuiCond.FirstUseEver);
|
||||
if (!ImGui.Begin(this.Plugin.Name, ref this.Visible)) {
|
||||
ImGui.End();
|
||||
return;
|
||||
|
|
|
@ -21,6 +21,7 @@ internal class Viewer {
|
|||
return;
|
||||
}
|
||||
|
||||
ImGui.SetNextWindowSize(new Vector2(350, 175), ImGuiCond.FirstUseEver);
|
||||
if (!ImGui.Begin("Messages", ref this.Visible)) {
|
||||
ImGui.End();
|
||||
return;
|
||||
|
|
|
@ -20,7 +20,7 @@ internal class ViewerButton {
|
|||
}
|
||||
|
||||
ImGui.SetNextWindowBgAlpha(0.5f);
|
||||
if (!ImGui.Begin("##ogt-viewer-button", ImGuiWindowFlags.NoTitleBar)) {
|
||||
if (!ImGui.Begin("##ogt-viewer-button", ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.AlwaysAutoResize)) {
|
||||
ImGui.End();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user