mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-31 10:17:55 +01:00
Fixed dialog button alignment
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user