Commit graph

2590 commits

Author SHA1 Message Date
Ashley Wulber
8de87b8f1b
fix: sync size of window and viewport 2022-09-10 22:43:09 -04:00
Héctor Ramón
d659811964
Merge pull request #1429 from pheki/remove-pure-docs-rs
Remove old pure feature from docs.rs build metadata
2022-09-07 10:31:02 +02:00
Aphek
8ad6889ee0 Remove old pure feature from docs.rs build metadata 2022-08-31 22:53:42 -03:00
Héctor Ramón
ab1ac8228f
Merge pull request #1410 from wyatt-herkamp/0.27_update
Update `winit` to `0.27` and `glutin` to `0.29`
2022-08-29 14:50:40 +02:00
Héctor Ramón Jiménez
28a30079d1
Return Mode::Hidden in window::Action::FetchMode
... when the window is not visible.
2022-08-29 14:24:03 +02:00
Wyatt Herkamp
7ec4747304
Update winit and glutin forks 2022-08-29 14:20:02 +02:00
Héctor Ramón
94fc3d993e
Merge pull request #1424 from mtkennerly/bugfix/pane-grid-undraggable-area-when-cramped
When pane grid title bar is cramped, still show content until hover and allow dragging where content would've been
2022-08-27 11:53:36 +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
4158a9a0cd
Merge pull request #1423 from iced-rs/feature/element-explain
Reintroduce `Element::explain`
2022-08-26 20:19:15 +02:00
Héctor Ramón
59bccb4ca1
Merge pull request #1422 from iced-rs/fix/invisible-window
Fix invisible window on Windows
2022-08-26 20:10:14 +02:00
Héctor Ramón
94687696aa
Merge pull request #1421 from iced-rs/fix/tooltip-mouse-interaction
Fix incorrect layout in `mouse_interaction` for `Tooltip`
2022-08-26 20:05:38 +02:00
Héctor Ramón Jiménez
a07cb8588f
Reintroduce Element::explain 2022-08-26 20:04:02 +02:00
Héctor Ramón Jiménez
c08c78ad17
Fix invisible window on Windows
... by reverting the changes that were supposed to hide the window
initially and only show it after rendering the first frame.
2022-08-26 19:48:40 +02:00
Héctor Ramón Jiménez
a5209f24e4
Fix incorrect layout in mouse_interaction for Tooltip 2022-08-26 19:44:22 +02:00
Héctor Ramón
da7e859840
Merge pull request #1389 from iced-rs/refactor-window-mode
Replace `window::Mode` with window commands
2022-08-18 15:03:56 +02:00
Héctor Ramón Jiménez
11f5527d76
Implement SetMode and FetchMode window actions 2022-08-18 14:39:15 +02:00
Héctor Ramón Jiménez
277b848ad8
Remove window::Mode and introduce Settings::visible
Additionally, only show the window once one frame has been rendered to avoid blank flashes on Windows.
2022-08-18 14:09:20 +02:00
Héctor Ramón
07cbed1064
Merge pull request #1414 from tarkah/fix/tooltip-inside-scrollable
Don't constrict tooltip text layout to viewport size
2022-08-17 20:59:28 +02:00
Cory Forsstrom
efd3705c41 Don't constrict tooltip text layout to viewport size 2022-08-17 10:00:36 -07:00
Héctor Ramón
bf7ea8121c
Merge pull request #1405 from tarkah/fix/tooltip-inside-scrollable
Fix Tooltip inside Scrollable
2022-08-17 16:34:49 +02: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
f728d6c059
Merge pull request #1409 from wuxianucw/master
Relax `Fn` trait bounds in `Command` & `Action`
2022-08-17 16:09:56 +02:00
Héctor Ramón Jiménez
b0705d2f4c
Fix latest clippy lints 2022-08-17 16:09:25 +02:00
Héctor Ramón Jiménez
23229e00f6
Use FnOnce in Command::perform
... and revert `FnMut` usage.
2022-08-17 15:54:31 +02:00
Héctor Ramón
4425839aa4
Merge pull request #1411 from tarkah/fix/canvas-with-clip-text
Don't double translate text clip inside canvas
2022-08-16 10:53:03 +02:00
Cory Forsstrom
56ad3a3221 Don't double translate text clip 2022-08-15 09:29:53 -07:00
无限UCW
f21d1209aa
Relax Fn trait bounds in Command & Action 2022-08-12 01:57:05 +08:00
Héctor Ramón
e209349c50
Merge pull request #1402 from tarkah/fix/component-operate
Impl operate for Component widget
2022-08-09 04:41:52 +02:00
tarkah
a4d5b82768 Impl operate for Component widget 2022-08-07 14:46:28 -07:00
Héctor Ramón Jiménez
8550550027
Remove iced_pure from document workflow 2022-08-06 01:57:40 +02:00
Héctor Ramón
1923dbf7f0
Merge pull request #1393 from iced-rs/deprecate-stateful-widgets
Replace stateful widgets with the new `iced_pure` API
2022-08-06 00:32:57 +02:00
Héctor Ramón Jiménez
c23ed7e4a0
Lay out UserInterface after diffing 2022-08-05 23:51:32 +02:00
Héctor Ramón
f294c2d162
Merge pull request #1399 from iced-rs/widget-operations
Widget Operations
2022-08-05 22:31:26 +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
1b4f38c71f
Bump websocket example version to fix audit workflow 2022-08-04 03:59:21 +02:00
Héctor Ramón
7021b940c2
Merge pull request #1396 from nicksenger/style/menu-border-radius
Allow specification of `border_radius` for `pick_list::Menu`
2022-08-04 03:58:00 +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
Nick Senger
0c13af179f
feat: allow specification of border_radius for pick_list::Menu 2022-08-02 16:16:06 -07:00
Héctor Ramón Jiménez
54ad92ce91
Build UserInterface only once on Outcome::Chain 2022-08-02 17:34:04 +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
6dac049db5
Fix clippy lints 🎉 2022-07-28 04:00:06 +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
a003e797e8
Fix uninitialized Tree in overlay::Menu 2022-07-28 00:50:03 +02:00
Héctor Ramón Jiménez
375386faa9
Remove pure leftovers in iced_graphics 2022-07-27 07:21:15 +02:00