diff options
| author | dam <dam@gudinoff> | 2021-12-04 12:14:07 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2021-12-04 12:14:07 +0000 |
| commit | 54515ea48a167a931c0f1aeb9d0170af7e147547 (patch) | |
| tree | afe5d4b0a7a386467b8f5d8bf59990a5cc5e7642 | |
| parent | 33ecde916329f58a6d0600a5a8ba6a60b83b9ac9 (diff) | |
| download | surgery-log-54515ea48a167a931c0f1aeb9d0170af7e147547.tar.zst surgery-log-54515ea48a167a931c0f1aeb9d0170af7e147547.zip | |
Add todo items and prepare date picker for inputing values.
| -rw-r--r-- | date_picker/date_picker.tscn | 18 | ||||
| -rw-r--r-- | readme.md | 4 |
2 files changed, 21 insertions, 1 deletions
diff --git a/date_picker/date_picker.tscn b/date_picker/date_picker.tscn index 440296a..3f77742 100644 --- a/date_picker/date_picker.tscn +++ b/date_picker/date_picker.tscn @@ -58,6 +58,12 @@ __meta__ = { "_edit_use_anchors_": false } +[node name="input" type="LineEdit" parent="year_scroll/value"] +visible = false +anchor_right = 1.0 +anchor_bottom = 1.0 +align = 1 + [node name="value_next" type="Label" parent="year_scroll"] anchor_top = 0.666 anchor_right = 1.0 @@ -129,6 +135,12 @@ __meta__ = { "_edit_use_anchors_": false } +[node name="input" type="LineEdit" parent="month_scroll/value"] +visible = false +anchor_right = 1.0 +anchor_bottom = 1.0 +align = 1 + [node name="value_next" type="Label" parent="month_scroll"] anchor_top = 0.666 anchor_right = 1.0 @@ -203,6 +215,12 @@ __meta__ = { "_edit_use_anchors_": false } +[node name="input" type="LineEdit" parent="day_scroll/value"] +visible = false +anchor_right = 1.0 +anchor_bottom = 1.0 +align = 1 + [node name="value_next" type="Label" parent="day_scroll"] anchor_top = 0.666 anchor_right = 1.0 @@ -2,4 +2,6 @@ Surgery Log =========== # ToDo -- [ ] Build to do list. +- [ ] Datepicker: + - [ ] On click (without drag) reset velocity to 0; show and focus 'input' to allow introducing value. + - [ ] Input form fields is a column of input items; each input item has (from left to right) a 'LineEdit' and a 'Button'; pressing the button shows a list with possible entries for that field, and selecting an entry will copy that entry text to the 'LineEdit'; if the 'LineEdit' has text, it's 'Clear Button Enabled' is set and the 'Button' should become smaller (to allow more text to be visible. |
