Héctor Ramón Jiménez
8ce8d374b1
Refactor some image traits a bit
...
- Use `Size<u32>` were applicable.
- Rename `TextureStore` to `image::Storage`.
- Rename `TextureStoreEntry` to `image::storage::Entry`.
- Wire up `viewport_dimensions` to `iced_glow` for `Svg`.
2022-11-05 03:19:38 +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
f8c363eeac
Fix drop down not closing when inside scrollable
...
and user clicks outside the scrollable. This is because the scrollable
sets -1.0 on cursor.y for any events where cursor is outside it's
bounds. I'm not sure why picklist had this logic to stay open on -1.0 /
-1.0, any click outside the overlay should close it.
2022-10-27 17:40:18 -07:00
Cory Forsstrom
069371c86b
Use child layout
2022-10-19 13:21:46 -07:00
Cory Forsstrom
470723c232
Eliminate unnecessary allocation
2022-10-19 13:05:56 -07:00
Cory Forsstrom
fb036529a2
Render picked pane last
2022-10-17 14:56:06 -07:00
Cory Forsstrom
dca99f35e9
Fix pane grid mouse interactions
...
- Use `grabbing` interaction while dragging
- Ignore grab interaction when dragging is disabled
2022-10-17 14:38:24 -07:00
Cory Forsstrom
20fd1f2047
Render pane grid titlebar after body
2022-10-07 09:03:44 -07:00
MG_REX
d95c216b2d
Add is_selected argument in radio::StyleSheet
2022-10-05 19:07:02 +02:00
Héctor Ramón Jiménez
3e82ab069e
Fix latest clippy lints
2022-09-23 17:51:42 +02:00
Ram.Type-0
ce3b89639d
Take Cow in Text::new
2022-09-21 20:59:17 +02:00
Matthew Kennerly
ea2df18147
When pane grid title bar is cramped, still show content until hover and allow dragging where content would've been
2022-08-27 06:25:12 +08:00
Héctor Ramón Jiménez
a5209f24e4
Fix incorrect layout in mouse_interaction for Tooltip
2022-08-26 19:44:22 +02:00
Cory Forsstrom
efd3705c41
Don't constrict tooltip text layout to viewport size
2022-08-17 10:00:36 -07:00
Cory Forsstrom
1ae3a94de2
Add snap within viewport builder
2022-08-17 16:15:24 +02:00
Cory Forsstrom
3fe2e14a42
Don't clip tooltip
2022-08-17 16:15:24 +02:00
Héctor Ramón Jiménez
ad5bd0970d
Fix documentation in operation::focusable
2022-08-05 06:01:54 +02:00
Héctor Ramón Jiménez
d5629c103c
Remove widget::state leftover file
2022-08-05 05:50:22 +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
6eb3dd7e5e
Implement focus_previous operation
2022-08-04 03:24:44 +02:00
Héctor Ramón Jiménez
77c6864e7c
Implement focus_next operation
...
... as well as a `count_focusable` composable helper!
2022-08-02 04:20:47 +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
c512d50e19
Fix clippy lints
2022-07-27 06:59:54 +02:00
Héctor Ramón Jiménez
a1c5f8839d
Use ToString for Text::new instead of Into<String>
2022-07-27 06:56:09 +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
cdd3802e68
Fix max_height for Scrollable
2022-07-18 23:38:44 +02:00
Héctor Ramón Jiménez
7e5a5ae743
Fix max_width and max_height for Container
2022-07-18 19:59:38 +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
fa55dff61d
Merge branch 'master' into theming
2022-07-08 19:31:45 +02:00
Héctor Ramón Jiménez
1dd1a2f97f
Introduce StyleSheet for Text widget
2022-06-29 10:51:01 +02:00
Héctor Ramón Jiménez
3a22faaa20
Remove unused code warnings
2022-06-07 04:55:46 +02:00
Héctor Ramón Jiménez
396735b682
Implement theme styling for PickList and Menu
2022-06-07 04:51:44 +02:00
Héctor Ramón Jiménez
97555e67af
Implement theme styling for Container
2022-06-07 04:11:24 +02:00
Héctor Ramón Jiménez
de21a651c0
Implement theme styling for Scrollable
2022-06-07 03:26:48 +02:00
mtkennerly
20780f36d1
Prevent pane grid title bar content and controls from overlapping
2022-06-07 07:30:44 +08: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
835877fc63
Implement theme styling for Checkbox
2022-06-04 03:26:53 +02:00
Héctor Ramón Jiménez
77dc9dc2cb
Implement theme styling for ProgressBar
2022-06-01 02:40:42 +02:00
Héctor Ramón Jiménez
c275fde67a
Implement theme styling for Rule
2022-06-01 01:56:46 +02:00
Héctor Ramón Jiménez
6f69df3d41
Implement theme styling for PaneGrid
2022-06-01 01:46:14 +02:00
Héctor Ramón Jiménez
3e2b6247f7
Implement theme styling for Toggler
...
... and wire up theming to the `styling` example.
2022-06-01 01:46:04 +02:00