mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
Scale dalamud windows by the global font scale
This commit is contained in:
parent
0197733fdb
commit
e7bbbc0164
4 changed files with 19 additions and 19 deletions
|
|
@ -32,16 +32,16 @@ namespace Dalamud.Interface {
|
|||
|
||||
ImGui.Text($"The in-game addon has been updated to version D{this.assemblyVersion}.");
|
||||
|
||||
ImGui.Dummy(new Vector2(10, 10));
|
||||
ImGui.Dummy(new Vector2(10, 10) * ImGui.GetIO().FontGlobalScale);
|
||||
|
||||
ImGui.Text("The following changes were introduced:");
|
||||
ImGui.Text(ChangeLog);
|
||||
|
||||
ImGui.Dummy(new Vector2(10, 10));
|
||||
ImGui.Dummy(new Vector2(10, 10) * ImGui.GetIO().FontGlobalScale);
|
||||
|
||||
ImGui.Text("Thank you for using our tools!");
|
||||
|
||||
ImGui.Dummy(new Vector2(10, 10));
|
||||
ImGui.Dummy(new Vector2(10, 10) * ImGui.GetIO().FontGlobalScale);
|
||||
|
||||
ImGui.PushFont(InterfaceManager.IconFont);
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ namespace Dalamud.Interface {
|
|||
ImGui.PopFont();
|
||||
|
||||
ImGui.SameLine();
|
||||
ImGui.Dummy(new Vector2(20, 0));
|
||||
ImGui.Dummy(new Vector2(20, 0) * ImGui.GetIO().FontGlobalScale);
|
||||
ImGui.SameLine();
|
||||
|
||||
if (ImGui.Button("Close")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue