Commit Graph

505 Commits

Author SHA1 Message Date
Tig Kindel
492966048c Fixes #1849. Wizard as non-popup is broken (#1853)
* trying to make it work

* Fixes #1849. Wizard as non-modal doesn't work

* Fixes #1855. Window and Frame content view without the margin frame.

* Fixing layout of non-modal

* WizardSTep is now a FrameView

* Now use Modal = false to set visual style automatically

* Removed Controls as an explicit construct. Now just Add to WizardStep

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2022-07-21 05:57:25 -07:00
BDisp
250d4af44b Some fixes for the WebConsole support. (#1865)
* Invoking NotifyStopRunState for all situations.

* Added Clicked property to support web console.

* Changing to MoveDown to stay always visible.
2022-07-21 05:56:52 -07:00
BDisp
32fa12e0bd Changes due to the requested changes. 2022-07-04 11:22:27 -04:00
BDisp
e02df8c043 Added some more features and bug fixes. 2022-07-04 11:22:27 -04:00
Charlie Kindel
065d88eed5 enabled events for WizardStep.Title changing 2022-06-15 17:32:25 -07:00
Charlie Kindel
56e78d4b92 propogated enable to Wizard 2022-06-15 17:32:25 -07:00
Charlie Kindel
ab503d1de1 more unit tests and refactoring 2022-06-15 17:32:25 -07:00
Charlie Kindel
1bc2c79938 Progress on refactoring nav 2022-06-15 17:32:25 -07:00
Tig Kindel
2451c19d15 Wizard fixes (#1802)
* Fixes #1791. Added Pos/Dim Function feature to automate layout.

* Added PosFunc/DimFunc class. and some more features.

* Fixes #1793. ScrollBarView is hiding if the host fit the available space.

* Fixes #1791. View not turn off AutoSize if TextFormatter.Size fit the Anchor.

* Done requested changes.

* Addressing feedback

* Added more AutoSize unit tests.

* wip

* Refactored and enhanced API

* Fixed test

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2022-06-14 08:54:33 -07:00
BDisp
10b410e406 Wizard and Dialog fix. (#1803) 2022-06-13 15:55:39 -07:00
Tig Kindel
48dbbb05a7 Adds multi-step Wizard view (#1783)
* Initial commit for Wizard

* Fixes #1777 - Dialog button justification. Adds unit tests

* Added missing API doc

* Work in progress

* Added tests for wide chars

* Tests

* more tests

* wip

* fixed test that broke by adjusting dialog button alignment

* fixed test that broke by adjusting dialog button alignment

* Fixed Dialogs scenario crash re: Parse v TryParse

* broke tests. can't figure out how.

* Revert "broke tests. can't figure out how."

This reverts commit f3c53928ac.

* Fixed unit tests

* Reverted workaround that doesn't work

* Refactor and cleanup
2022-06-12 13:24:29 -07:00
Tig Kindel
4a338bc693 Fixes #1777 - Dialog button justification. Adds unit tests. (#1782)
* Fixes #1777 - Dialog button justification. Adds unit tests

* Added missing API doc

* Added tests for wide chars

* more tests

* fixed test that broke by adjusting dialog button alignment

* fixed test that broke by adjusting dialog button alignment

* Fixed Dialogs scenario crash re: Parse v TryParse
2022-06-12 09:08:41 -07:00
Thomas Nind
21210d62db Fixed TableView always showing selected cell(s) even when not focused (#1776)
* Fixed TableView always showing selected cell(s) even when not focused

* Changed CsvEditor label to a text field to show focus changing and allow manually entering a cell

* Fixed TableView_ColorsTest_ColorGetter and improved Exception when wrong colors are used

* Added full focused/not test suite for TableView
2022-06-11 03:14:05 -07:00
Thomas Nind
0e9811c52a TableView unicode scenario usability (#1762)
- Add additional unicode ranges from CharacterMap
- Format the unicode symbol number with 0x prefix
2022-06-01 13:41:12 -07:00
Thomas Nind
13af2b1662 Support for flexible column widths in TableView (#1760)
* Support for flexible column widths in TableView

* Fixed not respecting min width of MinAcceptableWidth an added UICatalog support

* Added menu options for SmoothHorizontalScrolling and setting all MinAcceptableWidth to 1

* spelling fix
2022-06-01 13:33:20 -07:00
Tig Kindel
5b4716bef9 Merge pull request #1761 from tznind/table-char-map
Added unicode testing code to TableEditor
2022-05-30 15:58:09 -07:00
Thomas Nind
ee2336783c Added unicode testing code to TableEditor 2022-05-30 11:46:28 +01:00
Charlie Kindel
07ce68cd0f Updated version numbers 2022-05-29 10:18:16 +12:00
Thomas Nind
d68a2e8b8c Add horizontal scroll idicators to TableView (#1756)
* Add horizontal scroll idicators to TableView

* Made horizontal scroll indicators clickable

* Added setting ShowHorizontalScrollIndicators defaulting to true
2022-05-28 14:27:08 -07:00
Thomas Nind
286fec7990 Explicitly dispose old TreeView instances in UICatalog scenario (#1749)
Fixes #1742
2022-05-28 14:05:50 -07:00
Tig Kindel
2971fc9134 Fixes #769. Include PDB symbols on Nuget (#1747)
* trying to get nuget symbols to work

* fixed nuget sybmols?
2022-05-26 19:33:31 -07:00
Tig Kindel
a95e06c15d Fixes #1741. Use gitversion instead of minver (#1746) 2022-05-26 16:36:50 -07:00
Tig Kindel
cc04bb37f5 Release v1.6.0 (#1722)
* Change log for Release v1.6.0

* Regenerated API docs for v1.6.0

* Merged #1724

* Relnotes update

* Fixed minor issues in readme

* Updated changelog

* New sample.gif for README.md

* Ignore demo artifacts
2022-05-26 13:50:17 -07:00
BDisp
8fc289adaa Fixes #1730. Prevents AllViewsTester throwing exception on Dim.Percent. 2022-05-18 15:32:37 +01:00
Jocelyn NATALI
09b8ce64da Add ColorPicker Control. (#1668)
* Add ColorPicker Control.

* Add default colors.

* Author name comment removed.

* Scenario renamed.

* Format source code.

* Add commands and KeyBindings.

* ColorPicker comments updated.

* Doc updated.

* Fix relative Layout.

* Add new constructor, with title only.

* Delete one inused line.

* Scenario renammed.

* Doc updated.
2022-05-14 15:35:00 -07:00
Tig Kindel
a7db7cdec8 Merge pull request #1706 from tznind/tree-view-context
Tree view context
2022-05-13 14:47:24 -07:00
Thomas
7deacf3bb9 Renamed to simply GetObjectOnRow and dropped unused X component 2022-05-13 22:37:01 +01:00
Charlie Kindel
82ddc8e3e7 Fixes #1715 - UI Catalog about box version 2022-05-14 09:27:40 +12:00
Thomas
6800113ff1 Changed name to GetObjectRow 2022-05-13 22:17:42 +01:00
Thomas
7f0671e10a Renamed new methods 2022-05-13 21:42:50 +01:00
BDisp
ad2b5a9ba2 Removed AlwaysSetPosition and fix some wide runes issue. 2022-05-13 19:27:04 +01:00
BDisp
4382a2c2c2 Fixes remaining wide runes render issues. 2022-05-11 00:24:57 +01:00
Thomas Nind
e60d7f4363 Added IndexOf method to TreeView to allow for keyboard context menus 2022-05-10 16:05:09 +01:00
Thomas Nind
5c39f6af48 Added new method HitTest to TreeView to allow for better context menus 2022-05-10 15:39:15 +01:00
Thomas
f534c2e7eb Added color tailoring into scenario 2022-05-08 23:02:47 +01:00
BDisp
3408562054 Write "Reserved to surrogate pairs." 2022-05-03 01:25:20 +01:00
BDisp
a82ac45843 Fixes AutoSize, Window Tile and added option to Border for fill or not. 2022-04-30 01:12:21 +01:00
Thomas Nind
996ce13b82 Fixed erroneous namespace on LineView to match other views
Fixes  #1653
2022-04-20 09:24:56 +01:00
Charlie Kindel
615bf80657 v1.5.0 API Doc Refresh 2022-04-17 16:34:51 -07:00
Charlie Kindel
32ae3cb62f Cleaned up Categories and Scenario descripitons. 2022-04-17 15:48:48 -07:00
Charlie Kindel
83f70cbf39 Revert "Revert "Reorganizing scenarios categories as per #1648""
This reverts commit 359ba385c8.
2022-04-17 14:17:40 -07:00
Charlie Kindel
359ba385c8 Revert "Reorganizing scenarios categories as per #1648"
This reverts commit 3362ca849d.
2022-04-17 14:14:44 -07:00
BDisp
3362ca849d Reorganizing scenarios categories as per #1648 2022-03-17 16:39:15 +00:00
BDisp
04f9817023 Fixes view to screen relative on the context menu. 2022-03-17 12:52:40 +00:00
BDisp
ef4ae17959 Change CheckType to MenuItemCheckStyle.Checked 2022-03-17 12:52:39 +00:00
BDisp
08f2e67394 Implementing context menu and localization on TextView. 2022-03-17 12:52:27 +00:00
BDisp
c1649981b5 Implementing UseSubMenusSingleFrame in context menu. 2022-03-17 12:49:55 +00:00
BDisp
177465fae2 Implementing context menu and localization on TextView. (#1631)
* Only allows an open menu bar at a time.

* Implementing context menu and localization on TextView.

* Fixes the WindowsDriver dirty redrawn on resizing if HeightAsBuffer is true.

* Change CheckType to MenuItemCheckStyle.Checked
2022-03-17 01:59:37 -07:00
BDisp
a822e1afa9 Adds a popup ContextMenu feature. Implements ContextMenu for TextField. (#1615)
* Implementing ContextMenu feature to being popup by keyboard or mouse.

* Implements ContextMenu into TextField.

* Ensures the context menu's right and bottom frame from being greater than the container.

* Added Host property. Improving scenario and unit tests.

* Only draw the RightTee if it is at the end of the menu.

* Implements cursor visibility on TextField.

* Fixes the sub-menu not showing.

* Avoids draw the menu help and shortcut if there no available space.

* Remove reference for the MenuClosing event.

* UpdateCursor must only run after the ScreenBuffer is initialized to use the cursor visibility.

* Implements Resized event on Toplevel class.

* Prevents writing overlay on the menu.

* Covering more unit tests.

* Changing from Views to Core namespace.

* Implementing MenuClosingEventArgs and MenuAllClosed event.

* Only close the menu if it's open.

* Implementing localization for en-US and pt-PT to the FileDialog.

* Implementing localization for en-US and pt-PT on the TextField context menu.

* Fixes a bug where DeleteSelectedText is updating the Text before operation completion.

* Added a method to get all the supported cultures from the Terminal.Gui.

* Improving context menu and adding more unit tests.
2022-03-06 22:01:51 -08:00
BDisp
1557f7a71e Fixes ComboBox text and list if the height is equal to one. (#1606)
* Fixes ComboBox text and list if the height is equal to one. End and Home navigate on text.

* Trying fix the all scenarios unit test.

* Removing unnecessary code.

* Avoiding the Collection was modified after the enumerator was instantiated exception.

* Also cover the IndexOfValue inside the lock.

* Disposing the DrawContent event.

* Increasing the time to test.

* Revert "Increasing the time to test."

This reverts commit b3c2ac871c.

* CharacterMap take more time to load.
2022-02-20 13:39:22 -08:00