9 references to PanelTextAlignment
aspire-tray (9)
src\Aspire.Tray\Common\TrayPanel.cs (5)
1237
commands.Add(new TextCommand(titleBounds, title, PanelFontRole.Name, palette.TextPrimary,
PanelTextAlignment
.Center));
1239
PanelTextAlignment
.Center, MaxLines: 2));
1277
commands.Add(new TextCommand(clear, "Clear", PanelFontRole.Body, palette.Accent,
PanelTextAlignment
.Center));
1509
commands.Add(new TextCommand(cancelBounds, "Cancel", PanelFontRole.Button, palette.TextPrimary,
PanelTextAlignment
.Center));
1523
commands.Add(new TextCommand(acceptBounds, accept, PanelFontRole.Button, palette.OnColor,
PanelTextAlignment
.Center));
src\Aspire.Tray\Common\TrayPanelScene.cs (2)
76
PanelTextAlignment
Alignment =
PanelTextAlignment
.Leading,
TrayApplication.Panel.cs (2)
685
PanelTextAlignment
.Center => 0x1u, // DT_CENTER
686
PanelTextAlignment
.Trailing => 0x2u, // DT_RIGHT