BDisp
fc487cbbf8
Proving the Source can be derived from an IList<T>.
2024-05-31 15:07:38 +01:00
BDisp
893a6c8c32
Ensures CollectionChanged event is subscribed once or none if the source is null. For the ListWrapper the user is responsible to dispose it.
2024-05-31 14:34:22 +01:00
BDisp
479d1d3558
Update the ContentSize on the CollectionChanged event.
2024-05-29 02:23:18 +01:00
BDisp
5a6e64b756
Fix MoveEnd method.
2024-05-29 01:32:07 +01:00
BDisp
812734856f
Unit test for the CollectionChanged event.
2024-05-28 23:24:50 +01:00
BDisp
7438f9f420
Change unit tests to use ObservableCollection.
2024-05-28 23:23:47 +01:00
Tig
4ba8f04998
Rebased with v2_develop
2024-05-23 10:12:15 -06:00
Tig
c877c1844d
Simplified Alignment enum
2024-05-18 10:39:14 -07:00
Tig
ddd7e279c4
Merge/rebase with #3480
2024-05-17 16:10:51 -07:00
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
6e640ef80d
Rebased with #3480
2024-05-15 20:12:05 -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
7bfefd27b0
Rebased with #3480
2024-05-15 07:53:15 -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
a59c44d258
Rebased latest
2024-05-11 11:05:32 -06:00
Tig
ce1e243df2
Justification->Alignment
2024-05-10 11:27:02 -06:00
Tig
c5a6c907a4
Justifier->Aligner
2024-05-10 10:35:49 -06:00
Tig
40f72db0bd
Alignment->Justification
2024-05-10 10:05:16 -06:00
Tig
c84dade64d
WIP -> Getting rid of old TextAlignment enums
2024-05-10 08:52:47 -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