9 references to PanelTextAlignment
Aspire.Tray.Tests (9)
Helpers\TrayPanelSvgRenderer.cs (2)
125PanelTextAlignment.Center => ("middle", text.Bounds.CenterX), 126PanelTextAlignment.Trailing => ("end", text.Bounds.Right),
src\Aspire.Tray\Common\TrayPanel.cs (5)
977commands.Add(new TextCommand(titleBounds, title, PanelFontRole.Name, palette.TextPrimary, PanelTextAlignment.Center)); 979PanelTextAlignment.Center, MaxLines: 2)); 1017commands.Add(new TextCommand(clear, "Clear", PanelFontRole.Body, palette.Accent, PanelTextAlignment.Center)); 1248commands.Add(new TextCommand(cancelBounds, "Cancel", PanelFontRole.Button, palette.TextPrimary, PanelTextAlignment.Center)); 1262commands.Add(new TextCommand(acceptBounds, accept, PanelFontRole.Button, palette.OnColor, PanelTextAlignment.Center));
src\Aspire.Tray\Common\TrayPanelScene.cs (2)
68PanelTextAlignment Alignment = PanelTextAlignment.Leading,