We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5a3b5e commit 15284b4Copy full SHA for 15284b4
WoLua/Lua/Api/Script/Ui/ScriptWidgetApi.cs
@@ -3,6 +3,7 @@
3
using MoonSharp.Interpreter;
4
5
using VariableVixen.WoLua.Lua.Api.Script.Ui.Widget;
6
+using VariableVixen.WoLua.Lua.Docs;
7
8
namespace VariableVixen.WoLua.Lua.Api.Script.Ui;
9
@@ -14,6 +15,9 @@ public class ScriptWidgetApi(ScriptContainer source): ApiBase(source) { // TODO:
14
15
16
public TextWidget Centered(string? text = null) => this.Text(text).Center();
17
18
+ [SkipDoc("spelling variant")]
19
+ public TextWidget Centred(string? text = null) => this.Centered(text);
20
+
21
public TextWidget Subheader(string? text = null) => this.Text(text).SetDim().Indent();
22
23
public SeparatorWidget Separator() => new();
0 commit comments