Tig
f2a16dc1a3
Added Justifier class with robust unit tests
2024-04-19 11:39:16 -06:00
Tig
4ed5ed8bb6
Initial commit. Just a prototype
2024-04-17 12:51:19 -06:00
Tig
b2da2d6848
API doc improvements
2024-04-17 08:37:11 -06:00
Tig
e59106cfca
API doc improvements
2024-04-17 08:12:32 -06:00
Tig
652f7aa1b9
Renamed API to simplify and make more clear
2024-04-17 08:05:21 -06:00
Tig
3111a2cd2f
More PosDim.cs code cleanup
2024-04-16 17:52:57 -06:00
Tig
64b7149ff8
PosDim.cs code cleanup
2024-04-16 17:42:48 -06:00
Tig
e8467f25c4
Rewrote SetRelativeLayout to move logic in to the Pos & Dim classes. Massively beefed up unit tests.
2024-04-16 17:15:50 -06:00
Tig
264ba87e73
AnchorEnd() works! Cleaned up usages and modernized Sceanrios
2024-04-16 14:00:38 -06:00
Tig
d8bbbb8152
Code cleanup
2024-04-16 11:50:49 -06:00
Tig
162aa081ad
Implemented AnchorEnd(); added .UseDimForOffset property
2024-04-16 11:47:51 -06:00
Tig
671a18f1b5
Added tests to test new fn; which isn't implemented yet, so they fail.
2024-04-16 11:22:53 -06:00
Tig
05d3399f35
Added primitive AnchorEnd tests
2024-04-16 11:19:10 -06:00
Tig
719f39c8b3
Removed dupe tests
2024-04-16 10:33:18 -06:00
Tig
537f909e9f
Factored AnchorEnd unit tests out to separate file.
2024-04-16 09:59:00 -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
8d2c64ae3e
Console Driver code cleanup
2024-04-15 18:11:17 -06:00
Tig
97351c3af6
Test tweaks
2024-04-15 18:08:51 -06:00
Tig
ceaa10c1b6
Reverted debug stuff in Scrolling Scenario
2024-04-15 17:28:53 -06:00
Tig
b7547c43e1
If Parent isn't movable, border now cancels Highlight event
2024-04-15 17:27:06 -06:00
Tig
069089ee27
Made Arrangement = ViewArrangement.Fixed the default for Toplevels
2024-04-15 17:08:12 -06:00
Tig
de1a844787
Reimplemented Driver.FillRect to directly use Contnets vs calling Move/AddRune
2024-04-15 15:43:03 -06:00
Tig
50fcb19af5
Keep Force16Colors set across apps to ease debugging of flicker issue
2024-04-15 14:48:26 -06:00
Tig
77f98306e0
Removed debug code
2024-04-15 13:56:49 -06:00
Tig
68e37d0d1c
Fixed ColorPicker scenario with Bdisp's suggested code
2024-04-15 09:22:32 -06:00
Tig
00cc59add2
Smarter focuscolor fix just for Border
2024-04-15 00:08:26 -06:00
Tig
c34b23762b
Smarter focuscolor fix just for Border
2024-04-14 23:56:12 -06:00
Tig
92e7bc67ce
Cleaned up AdornmentsEditor to fix Progress Styles scenario.
...
Fixed GetFocusColor to not show focus if nothing else can be foucused
2024-04-14 23:47:57 -06:00
Tig
012e7a376a
Fixed Button.NumericUpDown focus issue
2024-04-14 21:21:44 -06:00
Tig
085fd6316d
Made Buttons.NumericUpDown even cooler. Updated Adornments scenario to use it.
2024-04-14 20:58:05 -06:00
Tig
4ad3dc8642
Made Buttons.NumericUpDown cooler
2024-04-14 20:12:22 -06:00
Tig
dc4ee2993c
Updated package versions in multiple projects
...
Updated the versions of various packages across four projects. In `ReactiveExample.csproj`, the `ReactiveUI` package was updated. In `Terminal.Gui.csproj`, the `System.IO.Abstractions` and `System.Text.Json` packages were updated. In `UICatalog.csproj`, the `Microsoft.VisualStudio.Azure.Containers.Tools.Targets`, `SixLabors.ImageSharp`, and `CsvHelper` packages were updated. In `UnitTests.csproj`, the `ReportGenerator`, `TestableIO.System.IO.Abstractions.TestingHelpers`, `xunit`, `xunit.runner.visualstudio`, and `coverlet.collector` packages were updated.
2024-04-14 19:44:39 -06:00
Tig
980fed4bbb
Merge pull request #3395 from BDisp/v2_view-dispose-mousegrabview-fix_3394
...
Fixes #3394 . View.Dispose doen't call UngrabMouse if MouseGrabView is the view itself.
2024-04-14 19:41:56 -06:00
BDisp
7236dd19c7
Fix unit test.
2024-04-14 23:55:18 +01:00
BDisp
bf166a73b8
Revert changes.
2024-04-14 23:42:36 +01:00
BDisp
92a5fe98c5
Merge branch 'v2_develop' into v2_view-dispose-mousegrabview-fix_3394
2024-04-14 23:42:28 +01:00
Tig
2430088b18
Renamed scenario.
...
Fixed ContentSize < 0 issue.
2024-04-14 16:21:10 -06:00
Tig
dc4943f0ff
Deleted temp scenario
2024-04-14 15:45:30 -06:00
Tig
a655120e48
Merge branch 'v2_develop' into v2_3269_Bounds-ContentArea
2024-04-14 15:00:11 -06:00
Tig
ffaf756898
Merge pull request #3405 from tznind/fix-tab-remove-null-ref
...
Fixes #3365 - Fix null reference removing tab
2024-04-14 14:59:20 -06:00
Tig
32e79bdd17
Code and API doc cleanup
2024-04-14 14:57:35 -06:00
tznind
caddcdb846
Fix null reference removing tab
2024-04-14 21:46:50 +01:00
Tig
0a73396375
Merge pull request #3399 from BDisp/v2_listview-scrolling-fix_3396
...
V2 Fixes #3396 . ListViewWIthSelection scenario does not show all rows and other issues
2024-04-14 14:24:18 -06:00
Tig
78bde18d4f
Merge pull request #3402 from tznind/disable-autosize
...
Fixes #3366 - Add ability to disable AutoSize
2024-04-14 14:08:47 -06:00
Tig
513eb135c6
Fixed layout issue when contentsize changed.
2024-04-14 14:03:07 -06:00
Tig
88222c4dfd
Fixed clipping - mostly: Still an issue w/ subviews of adornments
2024-04-14 13:22:25 -06:00
tznind
fadecc150a
Revert "Add ability to disable AutoSize"
...
This reverts commit aa72a97cd6 .
2024-04-14 09:41:05 +01:00
tznind
7d4d77ca64
Force AutoSize false instead of throw Exception when setting Width/Height
2024-04-14 09:40:31 +01:00
Tig
b83b392ccd
Updated View and Event classes for viewport and content size handling
...
Updated several classes to improve viewport and content size handling.
Added `SetFrame` method to `View` class in `ViewLayout.cs` and replaced direct `_frame` property setting.
Updated `OnLayoutStarted` and `OnLayoutComplete` methods to take `ContentSize` instead of `oldViewport`. Added `ViewportChanged` event and `OnViewportChanged` method to `View` class in `ViewContent.cs`.
Updated `DrawEventArgs` and `LayoutEventArgs` classes in `ViewEventArgs.cs` to include new and old viewport properties and removed `Rectangle` property.
Updated `OnDrawContentComplete` method in `ViewDrawing.cs` to take `DrawEventArgs` instead of `Rectangle`.
Updated `SetViewport` method in `ViewContent.cs` to trigger `OnViewportChanged` event.
Added check in `ListView.cs` for view initialization before setting `ContentSize` and `Viewport`.
Updated `FileDialog` class in `FileDialog.cs` to use `NewViewport.Width` instead of `e.Rectangle.Width`.
Updated `ViewEventArgs` class in `ViewEventArgs.cs` to include a `view` parameter in its constructor.
2024-04-13 09:56:46 -06:00