Commit graph

1033 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
837529bc99
Fix Wasm build of todos example 2023-09-04 03:02:46 +02:00
Héctor Ramón Jiménez
34495bba1c
Introduce keyed::Column widget 2023-09-04 02:55:09 +02:00
Héctor Ramón
20bf01a551
Use Length::Fill instead of fixed length in styling example 2023-09-03 08:33:02 +02:00
Akshay Raina
3a44ad3c73
fix(examples-styling): fixed checkbox and toggler getting hidden behind scrollbar
Column inside scrollable is having Length::Fill so it is taking entire width thus hiding check box and toggler.
Added fixed width to scrollable so Lenth::Fill will be relative to fixed width
2023-09-03 08:33:02 +02:00
Héctor Ramón Jiménez
6cc354fdc4
Update wgpu to 0.17 2023-09-03 00:21:04 +02:00
Héctor Ramón Jiménez
a026e917d3
Make widget::Tree mutable in Widget::layout 2023-08-30 06:36:24 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree 2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
8830554e4d
Update vulnerable async-tungstenite dependency in websocket example 2023-08-23 21:01:44 +02:00
Héctor Ramón Jiménez
0ae136b573
Update vulnerable env_logger dependency in examples 2023-08-23 21:01:15 +02:00
Héctor Ramón Jiménez
398a3f0897
Use Dark theme in stopwatch example 2023-08-23 20:50:31 +02:00
Héctor Ramón Jiménez
cbb5fcc882
Fetch bounds on window resize in visible_bounds example 2023-07-27 01:29:20 +02:00
Héctor Ramón Jiménez
8961fcd501
Highlight container bounds on hover in visible_bounds example 2023-07-27 01:21:50 +02:00
Héctor Ramón Jiménez
09f2887da5
Create visible_bounds example 2023-07-27 01:04:22 +02:00
Héctor Ramón Jiménez
e2ba7ece83
Introduce visible_bounds operation for Container 2023-07-27 01:04:18 +02:00
Héctor Ramón Jiménez
28d32a8b64
Fix on_option_hovered support in ComboBox 2023-07-26 22:34:56 +02:00
Joao Freitas
470e13c806
Add gif to example 2023-07-26 21:59:42 +02:00
Joao Freitas
dd5ef8b908
Add ComboBox widget
- Widget implementation
- Widget helper
- Example
2023-07-26 21:59:42 +02:00
Bingus
83c7870c56
Moved exit_on_close_request to window settings. This now controls whether each INDIVIDUAL window should close on CloseRequested events. 2023-07-24 14:32:59 -07:00
Bingus
d53ccc857d
refactored window storage;
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Cory Forsstrom
42c423b4a8 Add viewport to Widget::on_event 2023-07-15 10:04:25 -07:00
Héctor Ramón Jiménez
dc0ebdc525
Fix new clippy lint in pokedex example 2023-07-13 16:40:47 +02:00
Bingus
633f405f3f
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	Cargo.toml
#	core/src/window/icon.rs
#	core/src/window/id.rs
#	core/src/window/position.rs
#	core/src/window/settings.rs
#	examples/integration/src/main.rs
#	examples/integration_opengl/src/main.rs
#	glutin/src/application.rs
#	native/src/subscription.rs
#	native/src/window.rs
#	runtime/src/window/action.rs
#	src/lib.rs
#	src/window.rs
#	winit/Cargo.toml
#	winit/src/application.rs
#	winit/src/icon.rs
#	winit/src/settings.rs
#	winit/src/window.rs
2023-07-12 12:23:18 -07:00
Héctor Ramón
21bd51426d
Merge pull request #1912 from tarkah/feat/scrollable-alignment
Add scrollable alignment option
2023-07-12 10:24:04 +02:00
Héctor Ramón Jiménez
c5a623f32b
Introduce drop helper to pane_grid::State 2023-07-06 07:57:24 +02:00
Héctor Ramón Jiménez
ecce8bbcee
Simplify Target enum in widget::pane_grid 2023-07-06 07:57:23 +02:00
Joao Freitas
e5c9dd54b3
Add ability to drag pane to the pane grid edges & optional style for dragged pane 2023-07-06 07:55:49 +02:00
Cory Forsstrom
4f066b516b Add scrollable alignment option 2023-07-04 10:43:12 -07:00
Héctor Ramón Jiménez
fa5650cfd1
Decouple Mesh primitives from main Primitive type 2023-06-29 07:48:03 +02:00
Héctor Ramón Jiménez
0ae1baa37b
Introduce custom backend-specific primitives 2023-06-29 07:18:20 +02:00
Héctor Ramón Jiménez
af62ec1c87
Fix loading_spinners example 2023-06-28 00:11:41 +02:00
Héctor Ramón
9d83718fbe
Merge pull request #1878 from AustinMReppert/master
Minor Scrollable Improvements
2023-06-27 23:16:54 +02:00
Héctor Ramón
2d2ed4048c
Merge pull request #1902 from nicksenger/loading-spinners
Example loading spinners
2023-06-27 23:12:09 +02:00
Héctor Ramón Jiménez
493571695a
Rename ScrollbarProperties to Direction in scrollable 2023-06-27 23:04:49 +02:00
Austin M. Reppert
fa04f40524
Make vertical scroll properties optional
Co-Authored-By: Austin M. Reppert <austinmreppert@gmail.com>
2023-06-27 23:03:29 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module 2023-06-27 19:41:03 +02:00
Héctor Ramón Jiménez
b38f7d2837
Center Submit button vertically in styling example 2023-06-21 18:07:26 +02:00
Cory Forsstrom
f608056c50
Add nested picklist to modal example 2023-06-14 09:27:28 +02:00
Cory Forsstrom
55dc3b5619
Introduce internal overlay::Nested for UserInterface 2023-06-14 09:25:30 +02:00
Nick Senger
290b47f312 refactor: remove unnecessary canvas complexity 2023-06-09 11:03:52 -07:00
Nick Senger
9d69af10cc comment: fix typo 2023-06-08 20:09:10 -07:00
Héctor Ramón Jiménez
733c2bd9f5
Use mouse::Cursor in integration example 2023-06-08 20:45:48 +02:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level 2023-06-08 20:35:40 +02:00
Héctor Ramón Jiménez
57db196c3a
Increase width of controls in pane_grid example 2023-06-08 20:23:47 +02:00
Héctor Ramón Jiménez
5c8cfb411e
Take Rectangle by value in Cursor API 2023-06-08 20:16:46 +02:00
Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability 2023-06-08 20:11:59 +02:00
Bingus
05e238e9ed
Adjusted offscreen pass to be a render pass vs compute for compat with web-colors flag. 2023-06-08 10:10:26 -07:00
Nick Senger
0148cfc82b fix: RedrawRequest::NextFrame -> RedrawRequest::At() 2023-06-08 07:51:32 -07:00
Nick Senger
56eacdb358 comment: cleanup imports 2023-06-08 07:47:57 -07:00
Nick Senger
204c9d6f52 fix: rotation in terms of duration 2023-06-07 16:48:11 -07:00