Commit graph

1751 commits

Author SHA1 Message Date
Héctor Ramón
bb6e06127e
Merge pull request #925 from PolyMeilex/master
Update `wgpu` to `0.9`
2021-06-22 11:39:18 +02:00
Poly
a53e7559fe Use vertex_attr_array macro 2021-06-22 11:23:11 +02:00
Poly
c70f90f320 Update wgpu 0.9 2021-06-22 11:23:10 +02:00
Héctor Ramón
e68da229b3
Merge pull request #646 from mtsr/disable-button
Disabled button docs and consistent behavior
2021-06-10 19:12:11 +07:00
Héctor Ramón
d1797dda87 Revert changes in tour example 2021-06-10 18:58:44 +07:00
Héctor Ramón
d46dd67a91 Update disabled example of Button in docs 2021-06-10 18:58:40 +07:00
Jonas Matser
e66120b9c1 Fix failing doctests 2021-06-10 18:28:38 +07:00
Jonas Matser
dbc1181011 Adds doc comment for disabled button
Makes disabled button behavior consistent in web
2021-06-10 18:28:37 +07:00
Héctor Ramón
f6ff87bb8f
Merge pull request #818 from thenlevy/check_bounds
Prevent scissor_rect region to be larger than the target texture in wgpu::Backend::flush
2021-06-10 18:24:42 +07:00
Héctor Ramón
56f673d819 Revert "Attempt to fix scissor_rect validation error"
This reverts commit 656dc357f8.
2021-06-09 21:30:48 +07:00
Héctor Ramón
5224cc7f26 Floor width and height in Rectangle::floor 2021-06-09 21:30:20 +07:00
nlevy
656dc357f8 Attempt to fix scissor_rect validation error
Update wgpu/src/backend.rs

Cargo fmt
2021-06-09 21:30:00 +07:00
Héctor Ramón
0e70b11e00
Merge pull request #607 from yusdacra/scrollable_programmatically
Add methods to control `Scrollable` programmatically
2021-06-07 22:00:07 +07:00
Héctor Ramón
ce3a5f19b9 Add scrolling progress indicators to scrollable example 2021-06-04 20:46:47 +07:00
Héctor Ramón
3051d4ec76 Introduce on_scroll event in Scrollable 2021-06-04 20:46:27 +07:00
Héctor Ramón
57510c43c8 Add buttons to control scrolling in scrollable example 2021-06-04 20:15:06 +07:00
Héctor Ramón
827577c179 Introduce snap_to and unsnap to scrollable::State 2021-06-04 20:09:15 +07:00
Yusuf Bera Ertan
f7d6e40bf0 feat(native): Make scrollable programmatically scrollable for some use cases, add snap_to_bottom by default 2021-06-04 19:29:58 +07:00
Héctor Ramón
397a5c06ec
Merge pull request #535 from Kaiden42/toggler
Implement `Toggler` widget for iced_native
2021-06-03 20:55:50 +07:00
Héctor Ramón
d3d6f3efb3 Add some horizontal padding to toggler section in tour example 2021-06-03 20:35:26 +07:00
Héctor Ramón
ef5f46bcdd Use intra-doc links in Toggler docs 2021-06-03 20:28:36 +07:00
Héctor Ramón
a32ce271bd Rename text_align to text_alignment in Toggler 2021-06-03 20:27:32 +07:00
Kaiden42
2a5aa69024 Fix format 2021-06-03 20:21:55 +07:00
Kaiden42
e00fca6372 Add Toggler widget to iced_web 2021-06-03 20:21:55 +07:00
Kaiden42
c0cfd9d5cf Update documentation of Toggler 2021-06-03 20:21:55 +07:00
Kaiden42
be3ee9adf1 Add Toggler to tour example 2021-06-03 20:21:55 +07:00
Kaiden42
1ef38cc207 Add Toggler to styling example 2021-06-03 20:21:55 +07:00
Kaiden42
7a626f3b7b Change label of Toggler to optional 2021-06-03 20:21:55 +07:00
Kaiden42
aa18a6e0d5 Add alignment of Toggler label. 2021-06-03 20:21:55 +07:00
Kaiden42
bab71971fb fix format 2021-06-03 20:21:55 +07:00
Kaiden42
88da268724 add missing glow support 2021-06-03 20:21:53 +07:00
Kaiden42
7370dfac6e fix missing semicolon in doc test 2021-06-03 20:21:04 +07:00
Kaiden42
52a185fbab Implement Toggler widget for iced_native 2021-06-03 20:21:02 +07:00
Héctor Ramón
1dce929dfc
Merge pull request #893 from traxys/drag_and_drop
Allow disabling drag and drop on windows
2021-06-01 19:59:33 +07:00
Héctor Ramón
aab2176802
Merge pull request #630 from blefevre/asymmetric-padding
Add support for asymmetrical padding
2021-06-01 19:59:02 +07:00
Héctor Ramón
8a3b71df8b Replace ignored doc-tests with additional documentation for Padding 2021-06-01 19:45:47 +07:00
Héctor Ramón
b94cd7a2a8 Use Padding::horizontal and Padding::vertical helpers 2021-06-01 19:21:43 +07:00
Héctor Ramón
2e17d7860b Fix unused variable warning in iced_web::text_input 2021-06-01 19:14:04 +07:00
Héctor Ramón
0a14492343 Fix Tooltip widget 2021-06-01 19:13:52 +07:00
Héctor Ramón
92361ef07d Fix overlay::Menu implementation 2021-06-01 19:13:34 +07:00
Héctor Ramón
d83e263abe Introduce vertical and horizontal methods to Padding 2021-06-01 19:13:11 +07:00
Ben LeFevre
fe0a27c56d Add support for asymmetrical padding 2021-06-01 19:05:39 +07:00
Héctor Ramón
903570846e Fix documentation of PlatformSpecific settings 2021-06-01 18:57:36 +07:00
Héctor Ramón
a9eb591628
Merge pull request #901 from hecrj/feature/default-rule-style
Implement `Default` for `Style` in `rule`
2021-06-01 18:54:08 +07:00
Héctor Ramón
662889bb83 Implement Default for Style in rule 2021-06-01 18:32:56 +07:00
Quentin Boyer
f04bc94b80 allow disabling drag and drop on windows 2021-05-27 14:22:11 +02:00
Héctor Ramón
e292821c37
Merge pull request #892 from clarkmoody/title-bar-events
PaneGrid Events in Title Bar Area
2021-05-25 16:34:17 +07:00
Clark Moody
d4c5f3ee95 Enable event handling within the title elements
Shrink the pick area to avoid both the controls and the title elements.
Handle events and merge title area event status with control events.
2021-05-24 16:37:47 -05:00
Clark Moody
1a2fd4e743 Example: Add Pin button to prevent closing a pane
Functionality will not work until PaneGrid implementation is updated
to support events within the title area.
2021-05-24 15:53:20 -05:00
Clark Moody
e6f8b32583 Example: Add close button to pane grid controls
Refactors the state data structure to hold content and controls in
separate fields. Adds a new button style for the control button.
2021-05-24 14:28:52 -05:00