mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 00:38:00 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user