Commit Graph

245 Commits

Author SHA1 Message Date
Sang Kil Cha
06fdcc72c8 Always use an upper character for hotkey
MenuItem's hotkey should always use an upper character as
`Menu::ProcessKey()` always matches with an upper character.
2018-09-30 17:21:45 +09:00
miguel
d8b4fd425c Containers that have a contentView where they host their children must override RemoveAll 2018-09-28 22:45:06 -04:00
miguel
00c11ad70b Prevent a crash if there are no views added to the Toplevel 2018-09-28 22:40:46 -04:00
miguel
7c1bfd5e8a Fix layout for FileDialog, example shows how to retrieve the file 2018-09-28 22:40:46 -04:00
Miguel de Icaza
cade25938c Merge pull request #135 from IKoshelev/master
Fixing bug in TextView, clicking line below text end causes IndexOutOfRangeException
2018-09-26 10:11:28 -04:00
IKoshelev
289424be81 Fixing bug in TextView, clicking line below text causes IndexOutOfRangeException 2018-09-25 20:31:48 +02:00
miguel
b15427d0ca Version 0.17 2018-09-24 22:37:19 -04:00
miguel
73a3c7ab72 Merge branch 'dynamic-library-loader' 2018-09-24 22:34:55 -04:00
miguel
8e45d02ad0 Do not target 4.7 2018-09-24 22:23:40 -04:00
miguel
1c613c7fbe [TextView.ToString] Do not append the List's ToString, append the actual contents, fixes #133 2018-09-24 22:20:27 -04:00
miguel
1c7faba15d Make this work 2018-09-21 23:50:32 -04:00
miguel
4fcaf39088 [Label] When rendering, do not use byte count as the visible width, fixes https://github.com/migueldeicaza/gui.cs/issues/130 2018-09-21 23:27:52 -04:00
miguel
123df8657f Remove junk file 2018-09-21 23:09:32 -04:00
miguel
f7e8ce9d17 [TextView] Add read-only mode 2018-09-18 23:01:41 -04:00
miguel
4a17f5cd5d Use nativemethods 2018-09-18 22:56:02 -04:00
miguel
27c5468a10 Dynamic library loader work 2018-09-18 22:45:20 -04:00
Miguel de Icaza
565447cdfb Merge pull request #126 from GaikwadPratik/master
chore(frameview removall): To avoid infitinte loop for removeall
2018-09-15 21:48:09 -04:00
Pratik Gaikwad
bbb4202804 chore(frameview removall): To avoid infitinte loop for removeall
For Frameview, `contentView` is the first and only subview. In case of `RemoveAll`, `contentView` was sent from `View.RemoveAll` to overridden `Remove` function in `FrameView`
Hence, `contentView` is trying to remove itself from itself thereby actually not removing any subviews as well `contentView` from `FrameView` parent.
And thus the code was going in an infinite loop
Added overridden `RemoveAll` which would call `View.RemoveAll` on `contentView` to remove all the subviews from `contentView` but not the `contentView` from `FrameView`.
> Fixes: https://github.com/migueldeicaza/gui.cs/issues/125
2018-09-15 11:21:06 -04:00
Miguel de Icaza
75818ba19d Merge pull request #117 from shargon/patch-1
Error on RemoveAll
2018-08-01 23:32:16 -04:00
Miguel de Icaza
fdd2af5186 Update README.md 2018-07-31 23:40:50 -04:00
Shargon
8bd35f0f10 Error on RemoveAll
already is removed on `Remove(View view)`
2018-07-26 16:50:40 +02:00
miguel
d0af3ea3f1 Doc update 2018-07-23 22:12:26 -04:00
miguel
b524369e22 cosmetic 2018-07-23 22:11:42 -04:00
miguel
dd9b17c495 [ListView] allow the source to be null, so that it can be easily set later, fixes #111 2018-07-18 22:26:00 -04:00
miguel
ae7e5333a1 Update docs 2018-07-17 22:25:06 -04:00
miguel
12c4c88389 Add more docs 2018-07-17 22:25:06 -04:00
Miguel de Icaza
98ebab32bf Merge pull request #113 from mholo65/listview-mouse-select
Ensure SelectedChanged is called on mouse click.
2018-07-11 21:41:13 -04:00
Miguel de Icaza
f8dd7b8754 Merge pull request #114 from mholo65/mouse-focus-fix
Fix for setting and removing focus when using mouse.
2018-07-11 21:40:53 -04:00
Miguel de Icaza
dfa8fc4f39 Merge pull request #115 from Daniel-McCarthy/HexView-DisplayBugFix
Fixed HexView Display Offset Bug
2018-07-11 21:40:24 -04:00
Dan McCarthy
78442e02c6 Fixed HexView Display Offset Bug
If there is data to display this line will write a hexadecimal byte as a string. If there is no data it will instead fill the gap with spaces.

A hexidecimal byte is represented by two digits (e.g., "9F"). Instead of filling 2 spaces to represent the byte it is filling in three spaces. This is causing the formatting of lines without data to be heavily offset and not lining up with lines that contain data.
2018-07-09 22:19:07 -05:00
Martin Björkström
ea4d0646b2 Fix for setting and removing focus when using mouse.
- Ensure focus is always sent up the chain of subviews.
- Ensure that removed focus is sent down the chain of subviews.
2018-07-09 22:59:36 +03:00
Martin Björkström
1f74dc5faf Ensure SelectedChanged is called on mouse click. 2018-07-08 23:21:54 +03:00
miguel
63307db39e Add release instructions 2018-07-05 22:08:10 -04:00
miguel
5a9d16c441 Prepare for 0.16 2018-07-05 21:54:10 -04:00
Miguel de Icaza
dd9658b6ef Merge pull request #110 from mholo65/windows-backtab-fix
Handle shift-modifier if tab is pressed on System.Console and Windows drivers
2018-07-05 17:18:41 -04:00
Martin Björkström
b994f15943 Handle shift-modifier if tab is pressed on System.Console and Windows drivers.
- This fixes backtab not working on Windows and System.Console.
2018-07-05 23:09:13 +03:00
miguel
4f03a240c0 version 0.15 2018-07-03 21:53:03 -04:00
miguel
f56f1ba39b [Windows] Function keys on Legacy mode send UniChar == 0, handle this scenario, fixes issue #105, thanks to @fcallejon for the fix 2018-07-03 21:50:15 -04:00
miguel
11d8fab4e8 0.14 2018-06-18 22:08:08 -04:00
miguel
aa2ffb06ef [WindowsDriver] Fix the EventType type 2018-06-18 22:05:41 -04:00
Miguel de Icaza
6946e8b679 Merge pull request #104 from MihaMarkic/fix_view_enumerator
Fixes cases where subviews can be null
2018-06-13 08:49:55 -07:00
Miguel de Icaza
b2975dec44 Merge pull request #100 from pmsanford/master
Quick one: Ensure SelectionChanged is called on mouse click too
2018-06-13 08:48:59 -07:00
Miha Markič
06bfd0da9d Fixes cases where subviews can be null 2018-06-11 09:22:53 +02:00
Paul Sanford
73f10ef1e0 Ensure SelectionChanged is called on mouse click too 2018-06-06 23:05:15 -07:00
Miguel de Icaza
829aae09c8 File Dialog: hook up cancel button 2018-06-04 20:30:11 -04:00
Miguel de Icaza
948ca7994f Rebuild docs 2018-06-01 16:17:08 -04:00
Miguel de Icaza
0a654c1643 More docs 2018-06-01 16:14:07 -04:00
Miguel de Icaza
77f554ef04 Doc updates 2018-06-01 16:10:02 -04:00
Miguel de Icaza
cc462f8715 0.13 2018-06-01 10:25:37 -04:00
Miguel de Icaza
b1662455b1 Do not try to map the number keys manually, should fix github.com issue 81. 2018-06-01 09:50:46 -04:00