Commit Graph

1938 Commits

Author SHA1 Message Date
tznind
eb97e64830 Made 'LeaveLastRow' optional as new property in TableStyle 2021-01-24 19:08:34 +00:00
tznind
6066d711ad Allowed 1 extra line of vertical scrolling down (past end of tree) 2021-01-24 12:55:22 +00:00
tznind
1a00376885 Added more tests and fixed GetContentWidth when Bounds have 0 Height 2021-01-24 11:12:44 +00:00
tznind
2884b8e94d Added horizontal scrollbar, fixed tests 2021-01-24 10:35:03 +00:00
tznind
a1fe75a983 Added horizontal scrolling 2021-01-24 10:13:38 +00:00
tznind
50119da955 Fixed ofY in mouse handler and made ContentHeight real time 2021-01-23 10:51:39 +00:00
tznind
bea15c54c9 Added scroll bar to tree view example 2021-01-23 08:59:42 +00:00
tznind
6f787f4638 Merge branch 'master' into tree-view 2021-01-23 08:38:27 +00:00
Thomas Nind
52360cfdde Merge pull request #1 from migueldeicaza/master
update to latest master for scrollbar
2021-01-23 08:36:53 +00:00
Thomas Nind
1b316f013d Update treeview.md
Fixed angle brackets in markdown headers
2021-01-22 22:32:40 +00:00
tznind
bbfb6b28c0 added csharp syntax to markdown 2021-01-22 22:08:47 +00:00
tznind
518e58d90d added docs on generic treeview 2021-01-22 22:04:14 +00:00
tznind
4b6f3569ef Added basic use cases and new article 2021-01-22 19:57:39 +00:00
Charlie Kindel
77add786fc Merge pull request #1081 from BDisp/scroll-bar-view
Fixes #1073, #1058, #480 #1049. Provides more automation to the ScrollBarView, allowing easily implement on any view.
2021-01-22 09:32:27 -08:00
Charlie Kindel
45d5e997e1 Merge pull request #1094 from BDisp/netdriver-virtual-terminal-sequences
Fixes #1093. NetDriver is reading badly sometimes the virtual terminal sequences.
2021-01-22 09:22:04 -08:00
Charlie Kindel
ddbb15d44f Merge pull request #1092 from BDisp/linux-continuous-button-pressed
Fixes #1091. Continuous button pressed not working properly on Linux.
2021-01-22 09:21:12 -08:00
Charlie Kindel
fd663b6ddc Merge pull request #1090 from pcgeek86/patch-1
Add copyable instructions for .NET Core users
2021-01-22 09:20:50 -08:00
Charlie Kindel
285cc82b9f Merge pull request #1085 from angelobreuer/master
Application.Shutdown() does not reset SynchronizationContext
2021-01-22 09:19:44 -08:00
Charlie Kindel
d321fa0dc5 Merge pull request #1075 from BDisp/get-toplevel-subviews
Fixes #1071. Toplevel.GetTopLevelSubviews (). Changed from HashSet<View> to IList<View>.
2021-01-22 09:04:49 -08:00
Charlie Kindel
0cfd2c5a32 Merge pull request #1089 from BDisp/button-clicked-fix
Fixes #1088. On WindowsDriver moving the mouse with a button pressed, when it is released, the button clicked event is fired, causing an unintentional event.
2021-01-22 08:55:31 -08:00
BDisp
f9f68048a2 The host only need to pass the real sizes and the ScrollBarView automatically consider the extra line and column. 2021-01-22 02:21:56 +00:00
BDisp
0eb3b993ab Host must deal with the mouse wheel. 2021-01-22 00:23:01 +00:00
BDisp
cc7e5878dc Fixes the button release issue after button pressed and moved. 2021-01-21 21:07:00 +00:00
BDisp
0201113425 Added more mouse buttons codes. 2021-01-21 02:14:41 +00:00
BDisp
f0254f8b4d Fixes #1093. NetDriver is reading badly sometimes the virtual terminal sequences. 2021-01-21 00:48:32 +00:00
BDisp
27a617abba There is no need use the Application.MainLoop.AddIdle as the async call seems to work properly now. 2021-01-20 17:44:46 +00:00
BDisp
1c7e32e961 Removing private keyword. 2021-01-20 14:59:45 +00:00
BDisp
1bf4db0bd0 Reducing the ProcessContinuousButtonPressedAsync Task.Delay. 2021-01-20 14:57:44 +00:00
BDisp
f568166fb8 Fixes #1091. Continuous button pressed not working properly on Linux. 2021-01-20 14:54:34 +00:00
BDisp
3cdb1fe0e6 Fixes the double scrolling when the arrows are clicked on the ScrollBarView. 2021-01-20 13:37:31 +00:00
BDisp
6267d2742d KeepContentAlwaysInViewport is redrawing well now if it is false, showing always the left tee-right tee and top tee-bottom tee. 2021-01-20 02:20:48 +00:00
BDisp
ce46fb3d3e Don't need this. 2021-01-19 11:01:15 +00:00
BDisp
e7f66f8350 Simplifies the code more and makes it more understandable on the ScrollBarView. 2021-01-19 10:54:40 +00:00
Trevor Sullivan
ea834b8e0e Add copyable instructions for .NET Core users
Adding a simple copy/paste command to install Terminal.Gui into .NET Core projects
2021-01-18 13:19:08 -07:00
BDisp
3d95a87f3e Allowing columnTrack on button click in TextView. 2021-01-17 22:57:16 +00:00
BDisp
8f4924e40f Fixing bug in EnsuresVisibilitySelectedItem on ListView. 2021-01-17 02:02:52 +00:00
BDisp
0f038c76e1 Also implementing the ScrollBarView in the ComboBox of the ListsAndCombos scenario. 2021-01-17 00:47:32 +00:00
BDisp
58c2509772 Offers more simplicity to iterate with the ScrollBarView and its hosts. 2021-01-17 00:29:01 +00:00
BDisp
746a5c8c61 View not visible doesn't have to be handled. 2021-01-16 23:53:36 +00:00
BDisp
2f488c5572 Fixing ListView TopItem and LeftItem. 2021-01-15 23:58:46 +00:00
BDisp
bedeca61e6 Fixing some bugs. 2021-01-15 23:04:49 +00:00
BDisp
b3817d8ff1 Set focus to the ScrollBarView host if scrolling is started by the scroll bar. 2021-01-15 22:23:14 +00:00
BDisp
85d445a5d6 Reverting the changes as this is working right again. 2021-01-15 17:11:27 +00:00
BDisp
0466a6ebc3 Avoiding throwing exception on the "All Views Tester" scenario. 2021-01-15 17:09:31 +00:00
BDisp
542c507b59 Ensuring visibility to the SelectedItem of the ListView when getting focus. 2021-01-15 17:06:39 +00:00
BDisp
146d23422b Ensures that the ScrollBarView don't have two vertical or horizontal ScrollBarView. 2021-01-15 11:38:32 +00:00
BDisp
b88dbb672b Added right and left scrolling feature to the ListView. 2021-01-15 01:45:40 +00:00
BDisp
7d71525a4a Fixes #1088. On WindowsDriver moving the mouse with a button pressed, when it is released, the button clicked event is fired, causing an unintentional event. 2021-01-14 22:59:45 +00:00
BDisp
bf6c4ec417 Improves mouse functionality and fixed the CharacterMap scenario. 2021-01-14 17:57:31 +00:00
BDisp
351cb8133f Fixed backward bug and added one more unit test to probe. 2021-01-14 01:35:20 +00:00