2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-17 03:26:09 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
Oliver
f8bc69b903 Every redraw of a Form re-evaluates the focus index. Fixes #144 2019-08-29 18:12:55 +02:00
Mike Schinkel
c2c3679add Fix initialization bug in AddDropDown(), issue #290. 2019-06-03 20:40:09 -04:00
Oliver
384f577a62 Added SetFocus() to Form which changes the focus to a specific form element. Resolves #286 2019-06-02 21:31:59 +02:00
Oliver
f16ba37c6a Added functions to remove all buttons from forms and from modals. Resolves #259 2019-05-14 16:48:29 +02:00
Oliver
8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 2019-03-19 12:13:40 +01:00
Oliver
5991278513 If a Form has no focusable elements, it keeps the focus itself. Fixes #198 2018-12-03 18:28:59 +01:00
Oliver
a677b985cc Allowing the use of arrow keys in modal buttons, too. Resolves #167 2018-09-26 11:35:00 +02:00
Oliver
21f50f5bc4 Fixed the docs of FormItem. Fixes #153 2018-08-07 09:25:40 +02:00
Oliver
c33dd0cf8e Added form item removal functions and more ways to find items. Resolves #137 2018-07-17 20:18:39 +02:00
Oliver
f855bee020 Separated form item "done" function from "finished" function. Resolves #39 2018-04-19 21:34:03 +02:00
Oliver
5bd22542e5 For Form.GetFormItemByLabel() to work, we must not modify the label text. Fixes #94, fixes #99 2018-04-09 21:07:03 +02:00
Oliver
cc84c982fc Added GetFormItemByLabel(). Resolves #94 2018-04-07 12:58:52 +02:00
Oliver
258c9d1f8e Forms will attempt to keep focused form items within available area. Fixes #79 2018-03-15 17:54:17 +01:00
Oliver
2a83b20ce3 Improved documentation. 2018-01-24 21:48:53 +01:00
Oliver
7c086b1113 Updated Form documentation. 2018-01-19 08:37:01 +01:00
Oliver
4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 2018-01-17 21:17:59 +01:00
Oliver
258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +01:00
Oliver
aa25839cfa Introduced horizontal item alignment in forms. Resolves #33 2018-01-16 20:45:54 +01:00
Oliver
c105638ec3 Form now has a Clear() function. Resolves #32 2018-01-15 10:04:03 +01:00
Oliver
38d663c267 In Form, changed GetElement() to GetFormItem() for consistency reasons. 2018-01-13 13:07:05 +01:00
Oliver
d6ce974e6d Added masking to InputField, password field to form. Resolves #7, resolves #8. 2018-01-11 16:13:01 +01:00
Oliver
61d8ea30f8 Added support for wide unicode characters (e.g. Chinese). Resolves #9 2018-01-11 15:45:52 +01:00
Oliver
3fbea7a99b Added a listener for changes in input fields. Also in the Form. Fixes #4. 2018-01-10 10:40:51 +01:00
Oliver
2874294d89 Added Styles variable with default colors for primitives. 2018-01-10 09:44:21 +01:00
Oliver
e4f97a6436 Added links to Wiki to documentation. Also replaced screenshot with GIF screencast. 2018-01-07 16:39:06 +01:00
Oliver
1cc5331a5c Fixed focus delegation. 2017-12-27 22:55:50 +01:00
Oliver
8eb4c5ef48 Added TextView. All subclasses of Box now also have inside padding. 2017-12-21 18:08:53 +01:00
Oliver
dad7891c89 Added Checkbox, Modal, and Pages. 2017-12-20 20:54:49 +01:00
Oliver
2bd80aa513 Added DropDown. Also needed to refactor a bit to reduce dependencies. 2017-12-18 20:04:52 +01:00
Oliver
d5bf1a4ef0 Added list, improved existing primitives, and fixed a bunch of bugs. 2017-12-16 22:48:26 +01:00
Oliver
b83a7766a6 Added frames (with headers/footers) and buttons. Extended form. 2017-12-15 23:03:01 +01:00
Oliver
f9f139caaf First commit. Some basic functionality. Publishing to GitHub now. 2017-12-15 15:29:21 +01:00