12 references to Body
Aspire.Tray.Tests (12)
src\Aspire.Tray\Common\TrayPanel.cs (11)
938
commands.Add(new TextCommand(statusBounds, status, PanelFontRole.
Body
, palette.TextSecondary));
954
? new TextCommand(text, notice, PanelFontRole.
Body
, palette.BannerText)
955
: new TextCommand(text, notice, PanelFontRole.
Body
, palette.BannerText, MaxLines: 2));
978
commands.Add(new TextCommand(hintBounds, hint, PanelFontRole.
Body
, palette.TextSecondary,
1017
commands.Add(new TextCommand(clear, "Clear", PanelFontRole.
Body
, palette.Accent, PanelTextAlignment.Center));
1045
commands.Add(new TextCommand(new(TextLeft, top + 27, textRight - TextLeft, 16), detail, PanelFontRole.
Body
,
1161
PanelFontRole.
Body
, palette.TextPrimary));
1175
commands.Add(new TextCommand(new(TextLeft, item.Y, labelRight - TextLeft, item.Height), label, PanelFontRole.
Body
, palette.TextPrimary));
1229
commands.Add(new TextCommand(detailBounds, detail, PanelFontRole.
Body
, palette.TextSecondary,
1299
commands.Add(new TextCommand(new(20, top + 28, textWidth, 30), description, PanelFontRole.
Body
,
1318
commands.Add(new TextCommand(bounds, line, PanelFontRole.
Body
, palette.TextSecondary, Truncation: PanelTruncation.Middle));
src\Aspire.Tray\Common\TrayPanelScene.cs (1)
34
public static bool IsSemibold(PanelFontRole role) => role is not PanelFontRole.
Body
;