Files
Terminal.Gui/UnitTests
BDisp 915af9b3ff Fixes #2558. MenuBar positions wrong in some situations. (#2567)
* Fixes #2558. MenuBar positions wrong in some situations.

* Replacing Application.Top with Application.Current.

* Fix typo.

* Fix shortcut tag overlapping help on smaller width and add more unit test.

* Resizing the console will close all opened menus.

* Resize first the console before show ContextMenu.

* Remove DriverFrame and DriverFrameOffset as not relevant.

* Replace _frame with Frame as requested.

* Fix xml document comment.

* Compare equality between Dialog and Application.Top.

* Move GetDriverLocationOffset and GetDriverLocationOffsetFromCurrent to the Menu.cs.

* Fix merge errors.

* Ensure menu is closed on click.

* Force Height always be 1 to avoid mouse events respond even outside bounds.

* Recovering UseSubMenusSingleFrame hope doesn't break again.

* Fix bugs and made requested changes.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-05-05 15:10:14 -05:00
..
2021-04-25 10:18:31 -07:00

Automated Unit Tests

Terminal.Gui uses xunit for automated unit tests run automatically with Github Actions.

See the Testing wiki for details on how to add more tests.