Improve title bar buttons

This commit is contained in:
Asriel Camora
2024-08-03 00:18:00 -07:00
parent 7ba0e65bb0
commit aa9ca9cd0f
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -144,9 +144,9 @@ public sealed class MacroEditor : Window, IDisposable
new() new()
{ {
Icon = FontAwesomeIcon.Cog, Icon = FontAwesomeIcon.Cog,
IconOffset = new(2.5f, 1), IconOffset = new(2, 1),
Click = _ => Service.Plugin.OpenSettingsTab("Macro Editor"), Click = _ => Service.Plugin.OpenSettingsTab("Macro Editor"),
ShowTooltip = () => ImGuiUtils.Tooltip("Open Craftimizer Settings") ShowTooltip = () => ImGuiUtils.Tooltip("Open Settings")
} }
]; ];
+2 -2
View File
@@ -42,9 +42,9 @@ public sealed class MacroList : Window, IDisposable
new() new()
{ {
Icon = FontAwesomeIcon.Cog, Icon = FontAwesomeIcon.Cog,
IconOffset = new(2.5f, 1), IconOffset = new(2, 1),
Click = _ => Service.Plugin.OpenSettingsTab("General"), Click = _ => Service.Plugin.OpenSettingsTab("General"),
ShowTooltip = () => ImGuiUtils.Tooltip("Open Craftimizer Settings") ShowTooltip = () => ImGuiUtils.Tooltip("Open Settings")
} }
]; ];
+2 -2
View File
@@ -100,9 +100,9 @@ public sealed unsafe class RecipeNote : Window, IDisposable
new() new()
{ {
Icon = FontAwesomeIcon.Cog, Icon = FontAwesomeIcon.Cog,
IconOffset = new(2.5f, 1), IconOffset = new(2, 1),
Click = _ => Service.Plugin.OpenSettingsTab("Crafting Log"), Click = _ => Service.Plugin.OpenSettingsTab("Crafting Log"),
ShowTooltip = () => ImGuiUtils.Tooltip("Open Craftimizer Settings") ShowTooltip = () => ImGuiUtils.Tooltip("Open Settings")
} }
]; ];
+2 -2
View File
@@ -93,9 +93,9 @@ public sealed unsafe class SynthHelper : Window, IDisposable
new() new()
{ {
Icon = FontAwesomeIcon.Cog, Icon = FontAwesomeIcon.Cog,
IconOffset = new(2.5f, 1), IconOffset = new(2, 1),
Click = _ => Service.Plugin.OpenSettingsTab("Synthesis Helper"), Click = _ => Service.Plugin.OpenSettingsTab("Synthesis Helper"),
ShowTooltip = () => ImGuiUtils.Tooltip("Open Craftimizer Settings") ShowTooltip = () => ImGuiUtils.Tooltip("Open Settings")
} }
]; ];