Fixed dialog button alignment

This commit is contained in:
Tig Kindel
2023-03-19 14:40:23 -06:00
parent ca7720f7dd
commit 8d0c709806

View File

@@ -173,7 +173,7 @@ namespace Terminal.Gui {
if (buttons.Count == 0) {
return 0;
}
return buttons.Select (b => b.Bounds.Width).Sum ();
return buttons.Select (b => b.Frame.Width).Sum ();
}
/// <summary>