Commit Graph

8211 Commits

Author SHA1 Message Date
Sang Kil Cha
c9d7df13fd Fix null pointer deref (#166) 2019-01-30 23:15:08 -05:00
Sang Kil Cha
e8fa1e3997 Make cursor settable (#168) 2019-01-30 23:14:45 -05:00
Cameron MacFarland
740ee36ecc Fixed subview layout (#159) 2019-01-14 16:35:45 -05:00
Cameron MacFarland
7f94997803 Made IListDataSource render usable without external fields set (#161) 2019-01-08 10:35:06 -05:00
Cameron MacFarland
a88cb16b30 Fixed multiline dialog layout (#160) 2019-01-08 10:34:30 -05:00
miguel
57c926e7ef 0.19 2018-12-02 14:22:43 -05:00
miguel
f50ad31e38 Start azure pipelines script 2018-12-02 13:56:18 -05:00
miguel
137417f768 [TextField] update point to 0 or the lenght-1 on changes, fixes #150 2018-12-01 12:37:14 -05:00
miguel
d16571fdc0 [TextView] Initialize model, to avoid requiring the Text property to be set, fixes #147 2018-12-01 12:29:00 -05:00
Greg Amidon
d247e9b70c ProcessKey switch statement: (#144)
Added Key.DeleteChar to Key.ControlD switch condition.
2018-12-01 09:14:50 -08:00
Miguel de Icaza
10903a9998 Add index file 2018-11-05 16:31:16 -05:00
Miguel de Icaza
843ac02f2d Doc update 2018-11-05 16:26:21 -05:00
HLFrye
1bad3994c0 Fixed a bug with multiline labels not calculating their bounds correctly (#141)
* Fixed a bug with multiline labels not calculating their bounds correctly

* Second part of multiline label fix, include the last line in the lines list in Recalc
2018-10-23 21:23:00 -04:00
orion
cb5a08cbff Pageupdown (#138)
* feat(text view pageup/down): Added code to process `PageUp` and `PageDown` keys in the `TextView`.

* fix(text view pageup/down): Corrected the functionality of the `PageUp` so that it can go till row 1
2018-10-10 13:35:40 -04:00
Miguel de Icaza
bb1e050cd4 Merge pull request #137 from sangkilc/master
Use an upper character for MenuItem's hotkey
2018-10-02 11:32:46 -04:00
Sang Kil Cha
507f4c224d Remove swap file 2018-09-30 17:29:26 +09:00
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