Commit graph

39 commits

Author SHA1 Message Date
Michael Aaron Murphy
5c6fa840f4
fix(text_input): set read_only to false when focusing editable_input 2024-06-27 15:48:06 +02:00
Michael Aaron Murphy
ff3e4423f9
feat(text_input): add select_on_focus field 2024-06-27 00:20:05 +02:00
Michael Aaron Murphy
bd84f1f07d
fix(inline_input): wrong colors for focused style 2024-06-20 14:00:25 +02:00
Michael Aaron Murphy
d8cb87cae7
fix(inline_input): add placeholder parameter 2024-06-20 13:45:46 +02:00
Ashley Wulber
33eec39268
fix: border artifacts in button and input 2024-06-15 22:04:42 +02:00
Ashley Wulber
d138232655 text input always_active field & ids 2024-06-13 14:18:46 -04:00
Eduardo Flores
9ce3a51728 fix: text input attempting to subtract with overflow 2024-05-21 06:56:15 -04:00
Ashley Wulber
1ae9dae4cb fix(text_input): the trailing icon should always receive input 2024-05-17 22:28:57 +02:00
Ashley Wulber
11a73354ca fix(text-input): avoid jumping to start of text as cursor blinks, and clipping text inside the input 2024-05-17 01:23:06 +02:00
Ashley Wulber
7a964772c2 cargo fmt 2024-05-01 11:52:07 -06:00
Ian Douglas Scott
2ebf7e8e0a Update text_input widget for iced_sctk drag-and-drop change 2024-04-30 16:17:07 -07:00
Michael Aaron Murphy
8c8dbd1420 fix(text_input): inherit text and icon colors from container 2024-04-26 17:00:24 +02:00
Michael Aaron Murphy
c6ab6cfe23 fix(editable_input): disable edit mode when widget loses focus 2024-04-11 23:03:34 +02:00
Michael Aaron Murphy
0d829886fe fix(editable_input): disable read-only mode when text is clicked 2024-04-11 23:03:34 +02:00
Michael Aaron Murphy
7d1b557112 fix(text_input): clip text in text_input if they exceed initial bounds 2024-04-09 21:22:34 +02:00
Michael Aaron Murphy
0ac4172b74 feat(widget): add editable_input widget 2024-04-09 21:22:06 +02:00
Ashley Wulber
ce45af20f8 fix: better diffing of input state
this could still be improved, but should probably be refactored.
2024-03-01 15:22:28 -05:00
Ashley Wulber
5738ac2055 fix(input): handle space named key 2024-02-09 11:30:29 -07:00
Ashley Wulber
5ac8f120b4 cleanup: remove extra example from text input 2024-02-06 11:28:27 -05:00
Ashley Wulber
aff337f5dd chore: update iced and fix input single pointer press interaction 2024-02-06 11:28:27 -05:00
Ashley Wulber
9d479248a5 cleanup: text input 2024-02-06 11:28:27 -05:00
Ashley Wulber
dbcd927d4b various fixes 2024-02-06 11:28:27 -05:00
Ashley Wulber
f4ad098647 wip: update to use latest iced 2024-02-06 11:28:27 -05:00
Ashley Wulber
994e93d6d2 fix: better handling of secure inputs 2024-01-17 14:57:06 -07:00
Ashley Wulber
481cd5a0cd fix: position of input label 2024-01-03 14:53:52 -05:00
Ashley Wulber
310064ca1d refactor: use theme corner radii everywhere
not all values matched a default value but I picked the next closest in that case
2023-12-13 13:10:39 -05:00
Ashley Wulber
fcfe9ebc59 chore: update iced 2023-12-04 17:53:24 -05:00
Ashley Wulber
17bc373990 clippy fixes 2023-12-04 17:53:24 -05:00
Ashley Wulber
5f2e83b04d fix: avoid text_input paragraph updates in diff 2023-12-04 17:53:24 -05:00
Ashley Wulber
9202383596 chore: update to 0.12 2023-12-04 17:53:24 -05:00
danieleades
8e99406a8b
chore: fixing linter warnings 2023-11-28 20:02:08 +01:00
Ashley Wulber
ef5b6fb44a feat: add helpers for getting and using activation tokens in applets
refactor(applet): connect to privileged socket if available

cleanup
2023-11-17 19:29:11 -05:00
Ashley Wulber
ebcaf242e9 fix(color-picker): tooltip 2023-10-02 10:24:43 -04:00
Ashley Wulber
70077ca985 feat: color picker 2023-10-02 10:24:43 -04:00
Ashley Wulber
3829178c88 refactor: allow text input on_clear for more than just search_input 2023-09-21 15:25:13 -04:00
Michael Aaron Murphy
9dbc1be269 refactor(widget): improvements to button and icon widgets 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
4e4eeaac12 feat!(widget): rewrite button & icon widget APIs 2023-09-14 01:38:56 +02:00
Ashley Wulber
6457481ae5 fix: text input layout & cargo fmt 2023-08-24 15:44:29 -04:00
Ashley Wulber
db8e791b87
Text input (#143)
* update: iced 0.10.0

* wip: text input

* wip: text inputs with icons and buttons

* wip: improve text input

* refactor: text input styling

* chore: add scale factor

* chore(text_input): add winit example and do some cleanup
2023-08-23 10:59:26 -04:00