Files

22 lines
545 B
C#
Raw Permalink Normal View History

2026-07-16 21:49:59 +01:00
using UnityEngine;
using UnityEngine.UIElements;
namespace Plugins.PlasticSCM.Editor.Diff
{
internal class DiffMessagePanel : VisualElement
{
internal void ShowMessage(string message)
{
Clear();
Label title = new Label("Diff Message Panel");
title.style.fontSize = 16;
title.style.unityFontStyleAndWeight = FontStyle.Bold;
title.style.marginBottom = 8;
Add(title);
Add(new Label($"Message: {message ?? "(null)"}"));
}
}
}