mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-25 06:01:48 +01:00
Current state.
This commit is contained in:
parent
20393be689
commit
4b005c1ca2
59 changed files with 793 additions and 861 deletions
|
|
@ -36,7 +36,7 @@ public class CollectionOverrideDrawer(
|
|||
if (!table)
|
||||
return;
|
||||
|
||||
var buttonSize = new Vector2(ImGui.GetFrameHeight());
|
||||
var buttonSize = new Vector2(Im.Style.FrameHeight);
|
||||
ImGui.TableSetupColumn("buttons", ImGuiTableColumnFlags.WidthFixed, buttonSize.X);
|
||||
ImGui.TableSetupColumn("identifiers", ImGuiTableColumnFlags.WidthStretch, 0.35f);
|
||||
ImGui.TableSetupColumn("collections", ImGuiTableColumnFlags.WidthStretch, 0.4f);
|
||||
|
|
@ -161,7 +161,7 @@ public class CollectionOverrideDrawer(
|
|||
if (ImGuiUtil.DrawDisabledButton(FontAwesomeIcon.Plus.ToIconString(), buttonSize, tt, tt[0] is not 'A', true))
|
||||
collectionOverrides.AddOverride(_identifiers, currentId, currentName);
|
||||
|
||||
ImGui.SameLine(0, ImGui.GetStyle().ItemInnerSpacing.X);
|
||||
ImGui.SameLine(0, Im.Style.ItemInnerSpacing.X);
|
||||
using (ImRaii.PushFont(UiBuilder.IconFont))
|
||||
{
|
||||
using var color = ImRaii.PushColor(ImGuiCol.Text, ImGui.GetColorU32(ImGuiCol.TextDisabled));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue