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