mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Improve scaling of advanced dye window.
This commit is contained in:
parent
6475c3c65b
commit
d675cdc804
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ public sealed unsafe class AdvancedDyePopup(
|
|||
+ 3 * ImGui.GetStyle().ItemSpacing.X // around text
|
||||
+ 7 * ImGui.GetStyle().ItemInnerSpacing.X
|
||||
+ 200 * ImGuiHelpers.GlobalScale // Drags
|
||||
+ 7 * UiBuilder.MonoFont.GetCharAdvance(' ') // Row
|
||||
+ 7 * UiBuilder.MonoFont.GetCharAdvance(' ') * ImGuiHelpers.GlobalScale // Row
|
||||
+ 2 * ImGui.GetStyle().WindowPadding.X;
|
||||
var height = 19 * ImGui.GetFrameHeightWithSpacing() + ImGui.GetStyle().WindowPadding.Y + 3 * ImGui.GetStyle().ItemSpacing.Y;
|
||||
ImGui.SetNextWindowSize(new Vector2(width, height));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue