13 references to Body
aspire-tray (13)
src\Aspire.Tray\Common\TrayPanel.cs (12)
1081
var statusMiddle = HeaderBaseline - PanelFonts.CapHeight(PanelFontRole.
Body
) / 2;
1085
commands.Add(new TextCommand(statusBounds, status, PanelFontRole.
Body
, palette.TextSecondary, ExplicitBaseline: HeaderBaseline));
1102
? new TextCommand(text, notice, PanelFontRole.
Body
, palette.BannerText)
1103
: new TextCommand(text, notice, PanelFontRole.
Body
, palette.BannerText, MaxLines: 2));
1126
commands.Add(new TextCommand(hintBounds, hint, PanelFontRole.
Body
, palette.TextSecondary,
1165
commands.Add(new TextCommand(clear, "Clear", PanelFontRole.
Body
, palette.Accent, PanelTextAlignment.Center));
1193
commands.Add(new TextCommand(new(TextLeft, top + 27, textRight - TextLeft, 16), detail, PanelFontRole.
Body
,
1309
PanelFontRole.
Body
, palette.TextPrimary));
1323
commands.Add(new TextCommand(new(TextLeft, item.Y, labelRight - TextLeft, item.Height), label, PanelFontRole.
Body
, palette.TextPrimary));
1377
commands.Add(new TextCommand(detailBounds, detail, PanelFontRole.
Body
, palette.TextSecondary,
1448
commands.Add(new TextCommand(new(20, top + 28, textWidth, 30), description, PanelFontRole.
Body
,
1467
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
;