Commit Graph

35 Commits

Author SHA1 Message Date
BDisp
c363190fe9 Resolving merge conflicts. 2023-03-21 22:24:06 +00:00
Tig
ac5b87f9be Merge pull request #2438 from BDisp/v2_dialog-bigger-fix_2434
Fixes #2434. Dialog bounds bigger than Cols and Rows must be allowed to drag beyond left, right and bottom.
2023-03-21 08:34:49 -07:00
BDisp
3937feb976 Fixes #2434. Dialog bounds bigger than Cols and Rows must be allowed to drag beyond left, right and bottom. 2023-03-20 23:11:02 +00:00
BDisp
d3b9a07bbf Fixes #2430. Launching a Dialog from a Dialog causes errors in v2_develop. 2023-03-20 22:57:37 +00:00
Thomas Nind
057cea44d2 Merge branch 'v2_develop' into events 2023-03-20 17:07:24 +00:00
Tig Kindel
8bd9ac7bce More cleanup 2023-03-18 09:57:16 -06:00
Thomas Nind
1be2fddb07 Merge branch 'v2_develop' into events 2023-03-17 19:26:46 +00:00
BDisp
e486664ccc Fix the border not respecting the user settings. 2023-03-17 13:13:22 -06:00
BDisp
e69aa25ddd Fixes #2403. Dialog not draw text well if is opened on a smaller width. 2023-03-17 13:13:22 -06:00
BDisp
0448e53926 Fix changed event and reformat in UnitTests. 2023-03-17 17:12:46 +00:00
BDisp
846494ea7c Resolving merge conflicts. 2023-03-17 11:24:53 +00:00
Tig
cb259cc783 Merge branch 'v2_develop' into v2_single-smaller-top-fix_2416 2023-03-16 07:50:47 -06:00
Tig
c94f9165f4 Makes UI Catalog Scenarios use Theme and top-level color scheme (#2401)
* lots of clean up

* scenarios now get themes from uicatalog
2023-03-16 07:50:09 -06:00
BDisp
8715af2a42 Fix unit test error not disposing static variables. 2023-03-15 21:30:24 +00:00
BDisp
ae6c95836a Adding a unit test to ensure this doesn't happens again. 2023-03-15 20:10:42 +00:00
BDisp
82bf8f0546 Fixes https://github.com/gui-cs/Terminal.Gui/issues/2413. GrabMouse ungrab other view that was grabbed and still need it. 2023-03-13 21:41:33 +00:00
tznind
09683a2cd5 Refactor more event Action to event EventHandler 2023-03-12 02:31:22 +00:00
tznind
3bec36ac47 Change Action to EventHandler for more events 2023-03-12 02:10:22 +00:00
tznind
43f67a6387 Convert more Actions to EventHandlers in View 2023-03-11 19:55:08 +00:00
tznind
fcc75e7147 Update View Action events to EventHandler events 2023-03-11 19:46:46 +00:00
tznind
02825d89ba Added SuperViewChangedEventArgs for Added/Removed to clarify situation 2023-03-11 12:01:04 +00:00
tznind
9c4f3eda16 Update Added/Removed and other events to use `EventHandler 2023-03-11 11:05:20 +00:00
tznind
5187310b9a Refactor 'AlternateKey' events in Toplevel to use new signature 2023-03-11 10:35:03 +00:00
tznind
bdcbd55856 Switch to EventHandler<ToplevelEventArgs> for
- Activate
- Deactivate
- ChildClosed
- Closed
- ChildLoaded
- ChildUnloaded
2023-03-11 10:18:39 +00:00
tznind
58c267fd7c Switch to EventHandler for TopLevel methods
- Loaded,
- Ready
- Unloaded
- AllChildClosed
2023-03-11 10:08:36 +00:00
BDisp
c7b5417f79 Fixes unit tests. 2023-03-04 02:02:02 +00:00
BDisp
c99b35578d Revert "Fixes unit tests to support Pos/Dim changes."
This reverts commit ad426ff261.
2023-03-03 18:35:10 +00:00
BDisp
de5b2f5594 Resolving merge conflicts. 2023-03-03 17:55:22 +00:00
Tigger Kindel
6f16af878b Fixed unit tests: DimFactor changes broke - DOUBLE CHECK 2023-03-03 09:48:31 -07:00
BDisp
5840ad25e8 Added IsLoaded property to allow control if a change was done before or after the toplevel was loaded. 2023-03-02 03:24:21 +00:00
BDisp
ecd82465f7 ToString must return the Pos/Dim class names. 2023-02-28 21:23:44 +00:00
Tig Kindel
d04bf94c74 merged from develop after accident 2023-02-25 05:42:43 +13:00
BDisp
9cfa78a033 Fixes #2354. View.Redraw doesn't clear itself and PositionCursor doesn't ensure focus when a prior view was disabled. (#2355)
* Fixes #2354. View should have a IgnoreHasFocusPropertyOnRedraw property to prevent unnecessary derived class.

* Removed IgnoreHasFocusPropertyOnRedraw property.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-21 14:23:40 +13:00
BDisp
057bbcaea8 Fixes #2326. Invisible cursor after modal dialog. 2023-02-06 23:47:09 +00:00
Tig Kindel
7454dac942 Reorg of unit tests 2023-01-15 18:33:38 -07:00