Commit Graph

340 Commits

Author SHA1 Message Date
Tig
e28f73f175 Pos / Dim code cleanup 2024-05-14 16:01:42 -07:00
Tig
3e287c4bdd Moved PosXXX to not be nested classes 2024-05-14 15:45:04 -07:00
Tig
e6f883b96b Modernized RadioGroup to use Dim.Auto.
Upgrade AllViewsTester
2024-05-14 15:12:41 -07:00
Tig
070d31d5ab Modernized RadioGroup to use Dim.Auto.
Upgrade AllViewsTester
2024-05-14 14:52:10 -07:00
Tig
a5eca55f29 Removed nullable from ContentSize 2024-05-13 14:17:05 -06:00
Tig
36b9171276 Removed ContentSize setter, replaced with SetContentSize 2024-05-13 13:42:14 -06:00
Tig
ef9ee5a2e6 Checkbox now uses DimAuto for Height 2024-05-13 12:35:43 -06:00
Tig
4e01779e0b Moved AutoSizeTrue tests to more logical locations; nuked invalid tests 2024-05-13 12:22:43 -06:00
Tig
d391cc7ad2 MouseEvent: int X, int Y -> Point Position 2024-05-09 08:50:50 -06:00
Tig
a1249198bd PositionCursor unit tests and flashing cursor fixes 2024-05-07 10:07:14 -06:00
Tig
3e1025897b AutoSize in comments i gone too. 2024-05-03 15:00:48 -06:00
Tig
65b36a9268 Updated almosta all tests to not use AutoSize 2024-05-03 14:01:02 -06:00
Tig
2e62263b69 Removed AutoSize from Slider 2024-05-03 12:58:56 -06:00
BDisp
75669a4a76 Rewritten this unit test. 2024-05-03 17:38:26 +01:00
Tig
acaa326c51 Merge branch 'v2_develop' into v2_2432-DimAuto 2024-04-30 16:02:11 -06:00
Tig
30a540a088 Dim.DimAutoStyle.Subviews -> Content 2024-04-30 11:17:58 -06:00
Tig
f18c166d0f - Made Dim.DimAutoStyle flags.
Made View.ContentSize nullable, so _contentSize can be used to express 'desired contentsize
2024-04-30 11:09:11 -06:00
Tig
f51ec9cf66 Addded comments to remind myself of issues 2024-04-29 12:47:48 -06:00
Tig
a75d5b7966 WIP to get rid of Slider.AutoSize 2024-04-29 12:38:33 -06:00
Tig
cea6e54b19 Ready for review.
- All unit tests pass
- Basic usage verified.
2024-04-28 08:48:46 -07:00
BDisp
d074ff0328 Improves @tig prototype. 2024-04-26 23:54:11 +01:00
Tig
09565a0ef1 Tons of changes - mostly experiments, but some goodness.
There's a huge issue that TextFormatter is confused about AutoSize.
a) It behaves 'automatically' even when AutoSize == false (e.g. in Text_set).
b) It doesn't support auto sizing only one dimension.
2024-04-25 13:29:18 -06:00
Tig
2fdbce4a76 Fixed all unit tests. Doesn't mean things aren't broken tho. 2024-04-21 12:35:32 -06:00
Tig
a48146af82 Tons of unit test updates 2024-04-18 09:59:07 -06:00
Tig
d3dfb16597 Initial commit. Made all calls to AnchorEnd() be AnchorEnd(0) in prep 2024-04-16 09:51:22 -06:00
Tig
56922b4357 Merge pull request #3323 from tig/v2_3269_Bounds-ContentArea
Fixes #3169. `Bounds` -> `Viewport`: Content Scrolling in `View`
2024-04-16 06:37:37 -06:00
Tig
069089ee27 Made Arrangement = ViewArrangement.Fixed the default for Toplevels 2024-04-15 17:08:12 -06:00
BDisp
92a5fe98c5 Merge branch 'v2_develop' into v2_view-dispose-mousegrabview-fix_3394 2024-04-14 23:42:28 +01:00
Tig
a655120e48 Merge branch 'v2_develop' into v2_3269_Bounds-ContentArea 2024-04-14 15:00:11 -06:00
tznind
caddcdb846 Fix null reference removing tab 2024-04-14 21:46:50 +01:00
BDisp
24aef987be Restoring unit test from v1. 2024-04-11 18:00:12 +01:00
Tig
7644f631f0 Refactored ViewportSettings - Now makes more sense and LixtView works as before 2024-04-11 10:42:18 -06:00
Tig
9f93dea5cb TODOs 2024-04-11 07:00:46 -06:00
BDisp
c42c88ccbc Ensures the menu bar grabs the mouse when removing a menu. 2024-04-10 18:16:51 +01:00
Tig
e5d01bfdb1 Fixed Button with WantContinuousPressed = true not responding to single clicks 2024-04-10 00:30:11 -04:00
Tig
5c36db22a4 merge 2024-04-09 09:02:55 -04:00
Tig
dceed59a5f Fixed more unit tests 2024-04-05 12:27:04 -04:00
Tig
50f9b3559e Merge branch 'v2_3269_Bounds-ContentArea' of tig:tig/Terminal.Gui into v2_3269_Bounds-ContentArea 2024-04-05 11:48:57 -04:00
Tig
e1a2793c5c Fixed fragile toplevel drag unit tests 2024-04-04 19:34:39 -04:00
Tig
c5b7b084a9 Way too big a committ.... but I got carried away.
- Started MouseEventEventArgs -> MouseEvent transition - for OnMouseEvent. Partially fixes #3029.
- Refactored Appliation.OnMouseEvent and View.OnMouseEvent to match design guidelines.
- Re-impleented highlight, enabling extensibility (see Border).
- Beefed up unit tests
2024-04-04 18:50:13 -04:00
Tig
1b21dd5ef1 merged 2024-04-03 05:47:35 -06:00
Tig
c1896ee048 Renamed to HighlightOnPress and added unit tests 2024-04-02 16:22:55 -06:00
Tig
d57b58be1a Updated ViewMouse unit tests 2024-04-01 14:24:32 -06:00
Tig
cf97b5b708 Fixed some unit tests. Prepared for Issue #3368 2024-04-01 11:22:27 -06:00
Tig
8483e29a9d Removed ScrollView dependency from CharMap to validate new View scrolling fn 2024-03-30 17:53:03 -06:00
Tig
17efda9926 Fixed ScrollViwe 2024-03-29 14:26:07 -06:00
Tig
d25f98f8e3 Everything appears to work (except ScrollView which I broke but will fix). 2024-03-28 23:57:36 -06:00
Tig
df5f04b645 Merged v2_develop 2024-03-26 14:36:23 -06:00
Tig
6ebee8d42b Fixed more bad code 2024-03-25 16:54:08 -06:00
BDisp
41971a6e5a Fix all tests. 2024-03-25 17:36:35 +00:00