Commit graph

163 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
7354f68b3c
Draft Shell:request_redraw API
... and implement `TextInput` cursor blink 🎉
2023-01-12 02:59:08 +01:00
Ryan Scheidter
280ffd26b7 TextInput: SHIFT+Left Click to Select 2022-12-25 12:24:29 -06:00
Héctor Ramón Jiménez
0e9c1ab192
Add Renderer argument to operate 2022-12-22 14:29:24 +01:00
Héctor Ramón Jiménez
4029a1cdaa
Merge branch 'master' into non-uniform-border-radius-for-quads 2022-12-02 18:53:21 +01:00
Héctor Ramón Jiménez
3bd99221cc
Fix padding for TextInput with Length::Units width 2022-11-16 10:01:40 +01:00
Héctor Ramón
23364bc4a2
Merge pull request #1526 from mtkennerly/feature/find-focused
Add widget operation to find currently focused widget
2022-11-14 00:47:28 +01:00
Cory Forsstrom
c4bca3f2af Add text input operations 2022-11-11 08:43:36 -08:00
mtkennerly
44aba47b0e
Allow converting from widget-specific IDs to generic ID 2022-11-11 08:44:10 +08:00
Héctor Ramón Jiménez
1480ab2030
Fix broken documentation links 2022-11-10 00:10:53 +01:00
Héctor Ramón Jiménez
18fb74f200
Introduce Custom variants for every style in the built-in Theme 2022-11-09 04:05:31 +01:00
Héctor Ramón
ac737cb6e9
Merge pull request #1494 from tarkah/fix/padding
Constrain padding to resolved inner / outer widget sizes
2022-11-08 04:39:55 +01:00
Héctor Ramón Jiménez
914f099342
Rearrange layout code to improve readability 2022-11-08 04:04:01 +01:00
Héctor Ramón Jiménez
7476663069
Rename Padding::constrain to fit 2022-11-08 03:56:05 +01:00
Robert Krahn
c0596179bd non uniform border radius for quads 2022-11-03 22:48:26 +01:00
Héctor Ramón Jiménez
1687d11389
Increase default padding of TextInput 2022-11-03 02:35:17 +01:00
Héctor Ramón Jiménez
ac6a3cf8eb
Reset is_pasting for TextInput even when unfocused 2022-10-29 04:50:45 +02:00
Héctor Ramón Jiménez
58d3374229
Keep keyboard modifiers always in sync in TextInput 2022-10-29 04:43:20 +02:00
Cory Forsstrom
ea4b3cd6ae Fix text input padding 2022-10-27 12:10:47 -07:00
Héctor Ramón Jiménez
3e82ab069e
Fix latest clippy lints 2022-09-23 17:51:42 +02:00
Héctor Ramón Jiménez
66f7d43dc9
Write missing documentation in iced_native 2022-08-05 05:15:41 +02:00
Héctor Ramón Jiménez
13dd1ca0a8
Implement scrollable::snap_to operation 2022-08-04 03:55:41 +02:00
Héctor Ramón Jiménez
744edbd6c1
Focus text inputs in todos example 2022-07-28 03:58:46 +02:00
Héctor Ramón Jiménez
52f84e51e9
Implement Widget::operate for TextInput 2022-07-28 03:53:47 +02:00
Héctor Ramón Jiménez
80688689aa
Draft widget operations 2022-07-28 02:46:51 +02:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
54c9815b7b
Simplify update signature in text_input 2022-07-13 18:37:27 +02:00
Héctor Ramón Jiménez
891b917576
Simplify on_paste signature
... and fix spacing.
2022-07-13 18:35:41 +02:00
Wyatt Jacob Herkamp
e8cfa644e7
Added on_paste handler to TextInput 2022-07-13 18:32:56 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Poly
15f794b7a8
Address Clippy lints 2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
ce53d3933c
Implement theme styling for TextInput 2022-06-07 01:11:35 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
68e9eb0a9b
Fix broken intra-doc links in documentation 2022-04-30 14:20:52 +02:00
Héctor Ramón Jiménez
f6700000a2
Fix KeyPressed event being always Captured by TextInput 2022-03-28 19:20:40 +07:00
Héctor Ramón Jiménez
497a3ca8ab
Restore TextInput::draw helper
This helper should be unnecessary in the future.
2022-03-18 22:22:19 +07:00
Héctor Ramón Jiménez
c35496d80f
Merge branch 'master' into virtual-widgets 2022-03-07 15:29:43 +07:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait 2022-02-23 21:31:54 +07:00
Héctor Ramón Jiménez
e3108494e5
Implement TextInput in iced_pure 2022-02-12 16:11:37 +07:00
Héctor Ramón Jiménez
810e086728
Introduce Renderer argument to mouse_interaction and on_event 2022-01-11 14:12:28 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files 2022-01-03 11:36:13 +07:00
Olivier Pinon
d06e6bfb51 Lower text::Renderer's Font bound from Copy to Clone 2021-12-10 23:34:02 +01:00
nlevy
b479ba4821 Make TextInput emit a Submit message when the key NumpadEnter is pressed 2021-12-09 10:58:50 +01:00
Héctor Ramón Jiménez
bbd9355450
Introduce Shell type in iced_native
Widgets now can invalidate the current layout of the application on demand.
2021-11-29 16:22:01 +07:00
Héctor Ramón Jiménez
023aded277
Rename fill_rectangle to fill_quad in Renderer 2021-11-04 19:24:11 +07:00
Héctor Ramón Jiménez
631e95ee0b
Move viewport argument to last position in mouse_interaction methods
This keeps the order of the arguments consistent with `draw`.
2021-11-02 15:03:29 +07:00
Héctor Ramón Jiménez
a1db8d62c0
Reintroduce draw method in TextInput
... which allows overriding the rendered value.
2021-11-01 16:29:28 +07:00
Héctor Ramón Jiménez
e70a6be937
Merge branch 'master' into remove-renderer-traits 2021-10-31 17:52:21 +07:00
Héctor Ramón Jiménez
0d3c9ef7bd
Reintroduce Box for style_sheet in TextInput 2021-10-31 17:45:57 +07:00
Héctor Ramón Jiménez
b3a01973c6
Introduce first-class text module in iced_native 2021-10-31 16:14:38 +07:00
Héctor Ramón Jiménez
0aafcde0ef
Remove widget module re-exports in iced_native 2021-10-31 16:14:34 +07:00