Commit Graph

1470 Commits

Author SHA1 Message Date
Charlie Kindel
aae9237fda fixed formatting and added tests in scenario 2020-09-26 16:48:55 -07:00
Mgamerz
9c26ef22f9 ListView: Check if pressing enter, selected item is actually in data list
Returns false if selected index is not in range of the list (stale value or empty list)
2020-09-17 13:01:49 -06:00
Mgamerz
6a6b283a9e Fix formatting for ListView.cs changes 2020-09-09 23:00:06 -06:00
Mgamerz
dcd7463e58 Fix MoveUp and MoveDown to prevent exception
When calling MoveUp and MoveDown, the 'selected' variable is not checked. If I am using a backing data source that can change, this selected value +/- 1 may still not lie in the valid range of values. This PR checks and changes the following:

1) If moving up, and the CURRENT selected value is >= backing data length, the last item is selected
2) If moving down, and the CURRENT selected value is >= backing data length, the last item is selected
3) If the items list has no items, the methods return false as there is nothing to move to. I'm not sure if we should set lastSelectedItem to -1 in this instance.
2020-09-06 12:09:30 -06:00
Charlie Kindel
91a86c9460 Merge pull request #879 from tig/without_pdbs
trying without pdbs just to test
2020-08-24 10:56:50 -07:00
Charlie Kindel
06e35f1fb0 trying without pdbs just to test 2020-08-24 10:56:13 -07:00
Charlie Kindel
c7ad1a3506 Merge pull request #878 from tig/add_pdbs
Add pdbs
2020-08-24 10:47:18 -07:00
Charlie Kindel
798bae85a7 bump ver to 89.3 2020-08-24 10:45:57 -07:00
Charlie Kindel
75e2bf28c3 modify to include pdbs 2020-08-24 10:45:22 -07:00
Charlie Kindel
e67b70cc97 Merge pull request #877 from tig/0.89.2
0.89.2 test
2020-08-24 10:37:35 -07:00
Charlie Kindel
39516283e8 testing nuget push for 0.89.2 2020-08-24 10:33:11 -07:00
Charlie Kindel
86eb774b26 testing nuget push 2020-08-24 10:31:40 -07:00
Charlie Kindel
96208a1c49 Merge pull request #861 from BDisp/scrollview-keys-fix
Fixes #859. ScrollDown and ScrollRight navigates to beyond the ContentSize size.
2020-08-16 07:53:57 -07:00
BDisp
cb16ea8a3f If KeepContentAlwaysInViewport is true ensures that the scrollbars is at least a wide equal to one. 2020-08-15 21:19:16 +01:00
Charlie Kindel
edc4ab4e1f Merge pull request #870 from tig/test_deploy_89_1
another test
2020-08-15 10:22:40 -07:00
Charlie Kindel
ab0f644d25 another test 2020-08-15 10:01:28 -07:00
Charlie Kindel
4ae0949c8c Merge pull request #869 from tig/publish_action
Prep for dotnet publish.
2020-08-15 09:45:35 -07:00
Charlie Kindel
0a558d1d8c Merge pull request #868 from tig/refresh_api_docs
refreshed api docs
2020-08-15 09:38:25 -07:00
Charlie Kindel
a7a998c0ad Prep for dotnet publish. 2020-08-15 09:36:49 -07:00
Charlie Kindel
fc215f1a6d refreshed api docs 2020-08-15 09:12:25 -07:00
Charlie Kindel
0b58bf7f0c Merge pull request #865 from BDisp/frameview-tab-fix
Fixes #864. FrameView has only one contentView now.
2020-08-15 08:51:10 -07:00
Charlie Kindel
8600e43e40 Merge pull request #863 from BDisp/frameview-fix
Fixes #862. Issue was in the Text property of the View class.
2020-08-15 08:50:21 -07:00
Charlie Kindel
7a88a620b1 Merge pull request #858 from ttommyth/patch-1
Update ScrollView.cs
2020-08-15 08:49:43 -07:00
BDisp
5020e1f040 Added a KeepContentAlwaysInViewport property as suggested in https://github.com/migueldeicaza/gui.cs/issues/859#issuecomment-673064590 2020-08-13 23:27:11 +01:00
BDisp
0934cab654 Fixes #864. FrameView has only one contentView now. 2020-08-13 13:06:27 +01:00
BDisp
ef51a44fc2 Fixes #862. Issue was in the Text property of the View class. 2020-08-12 19:17:41 +01:00
BDisp
dba5c6b227 Fixes #859. ScrollDown and ScrollRight navigates to beyond the ContentSize size. 2020-08-12 16:41:02 +01:00
ttommyth
78cc4c2b91 Update ScrollView.cs
typo
2020-08-11 11:59:53 +08:00
Charlie Kindel
a1928e3668 Merge pull request #856 from BDisp/filedialog-fix
Fixes #844. The SelectionChanged action it's now working correctly.
2020-08-08 20:10:59 -07:00
Charlie Kindel
c524c101d2 Merge pull request #857 from kataras/master
Various misspell fixes
2020-08-08 20:10:30 -07:00
BDisp
484d4646c9 Cleaning nameEntry if dirEntry was changing. 2020-08-08 22:06:15 +01:00
Gerasimos (Makis) Maropoulos
83047b4232 various misspell fixes 2020-08-08 21:14:15 +03:00
BDisp
4f9943c7a1 Removed unnecessary parameter on ExecuteSelection and if AllowsMultipleSelection is true ensures that at least the valid current file path is returned if none is marked. 2020-08-08 17:27:54 +01:00
BDisp
972dde84f5 Fixes #844. The SelectionChanged action it's now working correctly. 2020-08-08 16:38:20 +01:00
Charlie Kindel
fff74d6dc1 Merge pull request #855 from BDisp/openfiledialog-fix
Fixes #844. If CanChooseDirectories is true the selected(s) folders should appear on the open text.
2020-08-07 15:43:41 -07:00
BDisp
1273ba215b Fixes #844. If CanChooseDirectories is true the selected(s) folders should appear on the open text. 2020-08-07 17:42:58 +01:00
Charlie Kindel
7aa3079274 Merge pull request #846 from BDisp/dynamic-menu-bar
Fixes #644. Added a UICatalog Scenario for a dynamic menu bar.
2020-08-07 06:19:50 -07:00
Charlie Kindel
138e54c954 Merge pull request #850 from BDisp/radiobutton-horizontal
Fixes #351. Added a horizontal display for RadioGroup.
2020-08-07 06:04:46 -07:00
Charlie Kindel
a07da67a2c Merge pull request #849 from BDisp/multi-thread-toplevels-test
Providing a simple test for Fixes #740. Multi thread toplevels.
2020-08-07 06:01:46 -07:00
Charlie Kindel
3477e97b84 Merge pull request #848 from BDisp/operation-canceled-exception
Fixes #847. Since the timeout issue are fixed there is no need to use tokenSource.Cancel but just reset the eventReady.
2020-08-07 06:00:59 -07:00
Charlie Kindel
d4c2e94a00 Merge pull request #845 from BDisp/file-dialog-directory-fix
Fixes #844. Now selects the correct Directory.
2020-08-07 05:58:07 -07:00
Charlie Kindel
376a25c833 Merge pull request #843 from BDisp/ui-toplevel-no-windows
Fixes #842. A Toplevel must be created by Application.Init.
2020-08-07 05:57:20 -07:00
Charlie Kindel
4f8d02df3f Merge pull request #841 from BDisp/listview-mouse-event
Fixes #840. Learned that we shouldn't mixing mouse flags with other properties.
2020-08-07 05:56:24 -07:00
Charlie Kindel
a3ce1be27f Merge pull request #839 from BDisp/view-visibility
Fixes #838. Added a Visible property to the View.
2020-08-07 05:55:31 -07:00
Charlie Kindel
388045952b Merge pull request #837 from BDisp/label-empty-initially
Fixes #836. Allows a Label display the text initially empty.
2020-08-07 05:53:51 -07:00
BDisp
2c8f6ec175 Added conditional exceptions. 2020-08-07 13:49:08 +01:00
BDisp
4a6fe45698 Fixes #853. CanChooseDirectories and CanChooseFiles now work properly. 2020-08-07 10:14:40 +01:00
BDisp
4aa228f200 Fixes #852. Avoiding exception if infos is empty. 2020-08-07 07:34:14 +01:00
BDisp
8a241b1cf8 Added a HorizontalSpace property. 2020-08-03 23:58:06 +01:00
BDisp
0598de1b38 Fixes #351. Added a horizontal display for RadioGroup. 2020-08-03 23:31:12 +01:00