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