Commit Graph

4545 Commits

Author SHA1 Message Date
BDisp
6d5754c22f Adds more unit tests for minimum full border without Left and Right thickness. 2023-12-04 12:10:36 +00:00
BDisp
6db8ccd2a9 Removes duplicates InlineData. 2023-12-04 00:26:42 +00:00
BDisp
94cf1b35c6 Merge branch 'v2_develop' into v2_tabview-frame-fix_2882 2023-12-03 23:38:36 +00:00
BDisp
ed3d29da13 Adds assert tests for Frame. 2023-12-03 23:37:34 +00:00
BDisp
b7b549b353 Adds missing XML parameter. 2023-12-03 23:36:17 +00:00
BDisp
7df13f21ca Draws a minimum full border. 2023-12-03 23:34:13 +00:00
BDisp
d474e0b4de Implements tabs, left and right arrows as View. 2023-12-03 23:32:00 +00:00
Tigger Kindel
a96c2588d5 Tweaks to api docs 2023-12-03 12:16:46 -07:00
Tigger Kindel
df37fa6841 No longer publish api docs from v2_develop; v2 is published via the Terminal.GuiV2Docs repo 2023-12-03 08:38:50 -07:00
Tigger Kindel
9d97ea9c8a Tweaked yml 2023-12-03 08:28:25 -07:00
Tig Kindel
154dd75c3b new docfx! 2023-12-02 19:15:25 -07:00
Tig Kindel
ab5848902a new docfx! 2023-12-02 19:09:37 -07:00
Tig Kindel
b643e48104 more docfx stuff 2023-12-02 10:07:58 -07:00
Tig Kindel
c708b5a065 tweaking api doc theme 2023-12-02 09:43:38 -07:00
Tig Kindel
cc7cfc43f2 Testing new api doc theme 2023-12-02 09:40:39 -07:00
Tig Kindel
875b94688e potential v2 icon 2023-12-02 08:41:12 -07:00
Tigger Kindel
3b104b85f0 Updated API docs to clearly show v2 2023-12-01 20:23:33 -07:00
Tigger Kindel
0d5b89ba25 Attempt to Publish v2 API to diff url2 2023-12-01 16:21:52 -07:00
Tigger Kindel
539ad47af2 Attempt to Publish v2 API to diff url 2023-12-01 16:06:43 -07:00
Tigger Kindel
6395d29c8c Attempt to Publish v2 API docs 2 2023-12-01 15:52:12 -07:00
Tigger Kindel
561efb1a73 Attempt to Publish v2 API docs 2023-12-01 15:40:10 -07:00
Tigger Kindel
a6f6cf90f0 Attempt to Publish v2 API docs with new workflow 3 2023-12-01 15:37:27 -07:00
Tigger Kindel
e767707e21 Attempt to Publish v2 API docs with new workflow 3 2023-12-01 15:27:46 -07:00
Tigger Kindel
d1c19dc25e Attempt to Publish v2 API docs with new workflow 2 2023-12-01 15:10:45 -07:00
Tigger Kindel
f4e0f95fe6 Merge branch 'v2_develop' of github.com:gui-cs/Terminal.Gui into v2_develop 2023-12-01 14:59:11 -07:00
Tigger Kindel
7b9ea816a7 Attempt to Publish v2 API docs with new workflow 2023-12-01 14:58:58 -07:00
Riley Carlson
52e7466ef9 Make Driver population code more concise (#3024)
* Make Driver population code more concise

This is effectively a NOP change, just makes it a little more terse

* Restore old behavior of null check after populating Driver

---------

Co-authored-by: Riley Carlson <riley.carlson@ksb.com>
2023-11-30 15:12:16 -07:00
BDisp
892241d841 Merge branch 'v2_textdirection-vertical-autosize_3017' into v2_tabview-frame-fix_2882 2023-11-29 18:11:34 +00:00
BDisp
c084309d56 Fix unit tests related with LayoutStyle. 2023-11-29 16:58:15 +00:00
BDisp
73de270a8b DateField and TimeField depends on LayoutStyle.Computed. 2023-11-29 16:49:14 +00:00
BDisp
60bdd9635c Only LayoutStyle.Computed can change the Frame. 2023-11-29 16:44:12 +00:00
BDisp
fcd221e5fd Removing forgotten code. 2023-11-29 16:42:08 +00:00
BDisp
9e9bf1a266 Restoring code I've broken. 2023-11-29 01:04:51 +00:00
BDisp
fc2e69b39a Fixing broken unit tests. 2023-11-29 00:52:43 +00:00
BDisp
c72ad5bb7a Fix some issues with AutoSize and ForceValidatePosDim. 2023-11-28 21:25:47 +00:00
BDisp
5d5d32d0f6 Using Frame to force read from the get method. 2023-11-28 21:23:59 +00:00
BDisp
5c978603e2 Fixes #3017. View TextDirection returns incorrect size on a vertical direction instance with AutoSize as false. 2023-11-28 21:16:47 +00:00
Tig
42b9ad1d61 Fixes #2578 - Updates mouse events to be relative to View.Bounds (#2920)
* initial commit

* Clarified RootMouseEvent

* Added application mouse coord tests

* ViewToScreen -> BoundsToScreen

* Simplified View.Move

* Simplified View.Move

* Updated API docs; made some functions private

* more ViewLayout cleanup

* more ViewLayout cleanup

* Added View.ScreenToBounds and low-level coord unit tests

* Partial fix

* Refactored Application.OnMouseEvent... Tests still fail and views are broken

* Added Bounds/FrameToScreen

* Remamed ScreenToView->ScreenToFrame

* All unit tests pass

* Fixed ListView

* Fixed TableView

* Fixed ColorPicker

* Fixed RadioGroup

* Fixed ListView unit tests

* Fixed line drawing scenario

* Updated comment

* fixed api doc typo

* fixed formatting

* added some thickness Contains unit tests

* MouseEvent api doc updates

* More thickness tests

* More thickness tests
2023-11-26 16:58:52 -07:00
BDisp
b381ff5766 Resolving merge conflicts. 2023-11-26 23:27:00 +00:00
BDisp
3f4d96bec7 Fixes #3011. TextFormatter doesn't handle combining and tab runes. (#3012)
* Add horizontal and vertical support for combining glyphs.

* Fix text and auto size behavior.

* Add TabWidth property.

* Add unit test for WordWrap.

* Add MultiLine property and improve more code.

* Fix word wrap on MessageBox.

* Fix label unit test.

* Rename to GetTextFormatterSizeNeededForTextAndHotKey

* Proves that TextFormatter.Size not must to have the same View.Bounds.Size.

* Fix fails unit tests.

* Updates AutoSize document.

* Updates MultiLine document.

* Removes Application dependency from the TextFormatter class.

* Fix Draw XML comment.
2023-11-26 15:41:54 -07:00
Thomas Nind
8ed1b16ee1 Line canvas exclude method (#3004) 2023-11-26 06:57:23 -07:00
BDisp
01f8552933 Merge branch 'v2_combining-tab-fix_3011' into v2_tabview-frame-fix_2882 2023-11-25 00:32:23 +00:00
BDisp
b94ca727ea Add unit test for WordWrap. 2023-11-24 23:54:25 +00:00
BDisp
063cea8526 Add TabWidth property. 2023-11-24 23:45:32 +00:00
BDisp
b0e5ada1fb Fix text and auto size behavior. 2023-11-24 21:12:21 +00:00
BDisp
7b3d8eed2b Add horizontal and vertical support for combining glyphs. 2023-11-24 19:50:16 +00:00
BDisp
a4861ed3a3 Reverting this changes to start a new one. 2023-11-23 22:17:27 +00:00
BDisp
f29295452c Revert "Fixes #2983. View need a alternative DrawFrame for the v2."
This reverts commit dade9fd767.
2023-11-23 22:10:44 +00:00
BDisp
1ca069309e Revert "Use new DrawFrame method."
This reverts commit 69a7f17f19.
2023-11-23 22:09:56 +00:00
BDisp
1a9dc9ea0f Resolving merge conflicts. 2023-11-23 22:09:12 +00:00