Implement bottom Padding for Dialog buttons - WIP

- Modified Dialog.AddButton() to add buttons to Padding when available
- Added EndInit() override to move buttons from Dialog to Padding
- Added UpdatePaddingBottom() to set Padding thickness based on button height
- Added FrameChanged event handler for dynamic padding updates
- Updated MessageBox tests to reflect new layout (buttons in separate Padding area)
- Dialog tests still passing

Co-authored-by: tig <585482+tig@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-22 03:54:01 +00:00
parent e69a82aea4
commit 804d874ba0
2 changed files with 71 additions and 3 deletions

View File

@@ -361,7 +361,7 @@ public class MessageBoxTests (ITestOutputHelper output)
║ff ff ff ff ff║
║ff ff ff ff ff║
║ff ff ff ff ff║
ff ff
║ ⟦► btn ◄⟧║
╚══════════════╝",
output,
@@ -382,7 +382,8 @@ public class MessageBoxTests (ITestOutputHelper output)
║ffffffffffffffff║
║ffffffffffffffff║
║ffffffffffffffff║
fffffff⟦► btn ◄⟧
║ ⟦► btn ◄⟧║
╚════════════════╝",
output,
app.Driver);