Tig
896912719d
PosPercent -> int vs. float
2024-05-17 13:40:34 -04:00
Tig
dfc8c015eb
DimPercent -> int vs. float
2024-05-17 13:12:34 -04:00
Tig
ec36787f1a
Revamped Slider - fixed multiple issues
2024-05-16 12:28:33 -07:00
Tig
00daccfcf1
Renamed Pos.Function->Func to align iwth C# Func type.
...
Pos API doc fixes and code cleanup.
2024-05-16 06:50:19 -07:00
Tig
0b969d9eb0
Revamped Slider - Make it a showcase for how to build a View that uses Dim.Auto
2024-05-15 18:12:23 -07:00
Tig
87a76669b7
Fixed broken unit tests.
...
Upgraded MessageBoxes scenario.
Tweaked validation logic
2024-05-15 11:13:41 -07:00
Tig
d21489cbf8
TextView modernization
2024-05-15 09:11:35 -07:00
Tig
dbd575eb58
PosFactor -> PosPercent (for consistency) and -> public
2024-05-14 19:20:21 -07:00
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