3 references to CapHeight
aspire-tray (3)
src\Aspire.Tray\Common\TrayPanel.cs (2)
1069
internal static double HeaderBaseline => HeaderHeight / 2 + PanelFonts.
CapHeight
(PanelFontRole.Title) / 2;
1081
var statusMiddle = HeaderBaseline - PanelFonts.
CapHeight
(PanelFontRole.Body) / 2;
src\Aspire.Tray\Common\TrayPanelScene.cs (1)
85
public double Baseline => ExplicitBaseline ?? Bounds.CenterY + PanelFonts.
CapHeight
(Font) / 2;