mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Refactor Dialog and MessageBox sizing logic to use the greater of percentage-based minimums or required subview size, ensuring dialogs are never too small for their content. Lower default minimum sizes for both Dialog and MessageBox. Implement IDesignable for Dialog, providing design-time sample content and buttons. Dialog appearance now switches styles based on modal/design mode. Refactor Dialogs demo for clarity, error handling, and modern C# usage. Update View content size calculations to include all subviews (including padding) for more accurate layout. General code modernization: use C# 9/10 features, improve readability, and maintainability.
Terminal.Gui Tests
This folder contains the tests for Terminal.Gui.
./UnitTests
This folder contains the unit tests for Terminal.Gui that can not be run in parallel. This is because they
depend on Application or other class that use static state or ConfigurationManager.
We should be striving to move as many tests as possible to the ./UnitTestsParallelizable folder.
./UnitTestsParallelizable
This folder contains the unit tests for Terminal.Gui that can be run in parallel.
./IntegrationTests
This folder contains the integration tests for Terminal.Gui.
./StressTests
This folder contains the stress tests for Terminal.Gui.
./PerformanceTests
This folder WILL contain the performance tests for Terminal.Gui.
See the Testing wiki for details on how to add more tests.