7 references to Center
Aspire.Tray.Tests (7)
Helpers\TrayPanelSvgRenderer.cs (1)
176PanelTextAlignment.Center => ("middle", text.Bounds.CenterX),
src\Aspire.Tray\Common\TrayPanel.cs (5)
1125commands.Add(new TextCommand(titleBounds, title, PanelFontRole.Name, palette.TextPrimary, PanelTextAlignment.Center)); 1127PanelTextAlignment.Center, MaxLines: 2)); 1165commands.Add(new TextCommand(clear, "Clear", PanelFontRole.Body, palette.Accent, PanelTextAlignment.Center)); 1396commands.Add(new TextCommand(cancelBounds, "Cancel", PanelFontRole.Button, palette.TextPrimary, PanelTextAlignment.Center)); 1410commands.Add(new TextCommand(acceptBounds, accept, PanelFontRole.Button, palette.OnColor, PanelTextAlignment.Center));
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (1)
696PanelTextAlignment.Center => 1,