UI Update
This commit is contained in:
@@ -118,7 +118,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
||||
{
|
||||
e.OnPreBuild(tk => tk.AddDalamudAssetFont(Dalamud.DalamudAsset.NotoSansJpMedium, new()
|
||||
{
|
||||
SizePx = 35,
|
||||
SizePx = 27,
|
||||
GlyphRanges = [0x20, 0x7E, 0]
|
||||
}));
|
||||
});
|
||||
@@ -349,6 +349,12 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
||||
return state;
|
||||
}
|
||||
|
||||
public static float GetCardContentPaddingX()
|
||||
{
|
||||
var style = ImGui.GetStyle();
|
||||
return style.FramePadding.X + 4f * ImGuiHelpers.GlobalScale;
|
||||
}
|
||||
|
||||
public static void DrawGroupedCenteredColorText(string text, Vector4 color, float? maxWidth = null)
|
||||
{
|
||||
var availWidth = ImGui.GetContentRegionAvail().X;
|
||||
|
||||
Reference in New Issue
Block a user