Héctor Ramón
3dc76ca948
Merge pull request #1788 from tarkah/optimization/scrollable-publish
...
Don't publish redundant `on_scroll` offsets
2023-04-12 23:22:09 +02:00
Cory Forsstrom
4125c034f5
Include NaN in unchaged logic
2023-04-12 14:08:18 -07:00
Cory Forsstrom
ee32af2606
Don't publish redundant on_scroll offsets
2023-04-12 14:08:05 -07:00
Héctor Ramón
adb70d232a
Merge pull request #1777 from AirhartAero/linux-window-features
...
Re-expose winit features for window servers in Linux
2023-04-12 20:57:36 +02:00
Night_Hunter
5a056ce051
add action set icon while running ( #1590 )
...
* set windows icon live action
* change get icon to insto raw
* remove mobile docs
* format
* fix format
* add file methods to Icon
* Rename action to `ChangeIcon` and tidy up `Icon` modules
* Fix documentation of `icon::Error`
* Remove unnecessary `\` in `icon` documentation
* Remove `etc.` from `Icon` documentation
---------
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2023-04-12 06:47:53 +00:00
Héctor Ramón
e7549877ef
Merge pull request #1762 from ahoneybun/radio-example
...
Radio example
2023-04-12 06:54:28 +02:00
Héctor Ramón Jiménez
b505b72035
Move radio example to Radio docs
2023-04-12 06:43:58 +02:00
Héctor Ramón
994d612239
Merge pull request #1643 from Night-Hunter-NF/fix_slider_colors
...
Left and right colors for slider rails
2023-04-12 05:39:06 +02:00
Héctor Ramón Jiménez
9b39a17628
Rename Rail::size to width
2023-04-12 05:27:32 +02:00
Héctor Ramón Jiménez
6e6804c5c9
Use a border_radius of 2.0 for slider rails in built-in theme
2023-04-12 05:25:27 +02:00
Héctor Ramón Jiménez
c2cc9a835d
Remove border_width support in slider::Rail
2023-04-12 05:21:46 +02:00
Héctor Ramón Jiménez
45cfce3f6d
Simplify draw logic of sliders
2023-04-12 05:19:01 +02:00
Night_Hunter
de51bc3f41
Introduce left and right colors for slider rails
2023-04-12 05:09:16 +02:00
Héctor Ramón
ce8e92ca7a
Merge pull request #1744 from JungleTryne/disable-text-input
...
Add functionality to make `TextInput` disabled
2023-04-12 04:51:19 +02:00
Héctor Ramón Jiménez
7e7e66586d
Show NotAllowed as mouse icon when hovering a disabled TextInput
2023-04-12 04:37:39 +02:00
Héctor Ramón Jiménez
1de794aabf
Fine-tune built-in styling of disabled TextInput
2023-04-12 04:34:37 +02:00
Héctor Ramón Jiménez
6b8548869e
Remove unnecessary is_disabled check in text_input::draw
...
A disabled `TextInput` cannot be focused.
2023-04-12 04:25:02 +02:00
Héctor Ramón Jiménez
70e4af46aa
Improve consistency of on_input documentation
2023-04-12 04:21:58 +02:00
Héctor Ramón Jiménez
7e69cb4b18
Unfocus TextInput if it becomes disabled
2023-04-12 04:20:04 +02:00
Héctor Ramón Jiménez
250ba3a7f1
Remove text_input example
2023-04-12 04:19:54 +02:00
Héctor Ramón Jiménez
e6a93e960c
Rename on_change to on_input for TextInput
2023-04-12 04:19:45 +02:00
Dan Mishin
f10e936f00
Introduce disabled state for TextInput
2023-04-12 03:55:18 +02:00
Héctor Ramón
ca828f03f5
Merge pull request #1786 from iced-rs/feature/subscription-channel
...
`channel` helper for `subscription`
2023-04-11 20:24:38 +02:00
Héctor Ramón Jiménez
0ed54346b0
Use Result::is_err in websocket example
2023-04-11 07:53:26 +02:00
Héctor Ramón Jiménez
5908205a62
Use 127.0.0.1 instead of localhost in websocket example
2023-04-11 07:48:30 +02:00
Héctor Ramón Jiménez
ae7e6b3d48
Implement subscription::channel and simplify unfold
2023-04-11 07:46:54 +02:00
Héctor Ramón
ff24f9040c
Merge pull request #1702 from casperstorm/feat/text_input_handle
...
Added `Icon` to `text_input`
2023-04-11 06:18:52 +02:00
Héctor Ramón Jiménez
927c3a8caa
Reuse text_bounds in text_input::layout
2023-04-11 05:59:20 +02:00
Héctor Ramón Jiménez
45015e37d4
Fix current step in tour
2023-04-11 05:57:31 +02:00
Héctor Ramón Jiménez
aa0be30656
Move ICON_FONT constant in tour to text_input helper
2023-04-11 05:57:01 +02:00
Héctor Ramón Jiménez
c794d8ba78
Collapse Font import in tour example
2023-04-11 05:56:34 +02:00
Héctor Ramón Jiménez
cf9d8e0104
Rename IconPosition to Side in text_input
2023-04-11 05:54:51 +02:00
Héctor Ramón Jiménez
57265ff211
Move Icon definitions after Widget implementation
2023-04-11 05:53:22 +02:00
Héctor Ramón Jiménez
870b2fe513
Derive Debug for text_input::Icon
2023-04-11 05:48:12 +02:00
Héctor Ramón Jiménez
9852b4b364
Move Icon layout logic to layout in text_input
...
Also add `Icon::spacing` field.
2023-04-11 05:46:14 +02:00
Héctor Ramón Jiménez
0e2fc99eb8
Use f32 for Icon::size and remove unnecessary conversions
2023-04-11 05:13:56 +02:00
Casper Storm
898307e9ac
Removed text_input example in favor for Tour
2023-04-11 05:11:23 +02:00
Casper Storm
d24a4a4689
Changed Handle to Icon to be consistent
2023-04-11 05:11:23 +02:00
Casper Storm
bfc5db9009
Updated handle_color for focused state
2023-04-11 05:11:23 +02:00
Casper Storm
7b36984295
feat: added handle to text_input
2023-04-11 05:11:19 +02:00
Héctor Ramón
931b30dc5a
Merge pull request #1779 from Davidster/remove_colons_from_shader_labels
...
remove colons from shader labels
2023-04-07 06:26:26 +02:00
Héctor Ramón
415dbde01e
Merge pull request #1782 from bq-wrongway/master
...
Updating Roadmap.md
2023-04-07 06:04:36 +02:00
bq_wrongway
15125c23f1
Updating Roadmap.md
...
I collapsed Animations because the underlying issue was resolved, and i added issue #343 to 3D Canvas widget
2023-04-05 20:00:25 +02:00
David Huculak
703484c5fd
remove colons from shader labels
2023-04-01 16:10:28 -04:00
Jacob Kiesel
cb78dc548b
re-expose winit features for window servers in Linux
2023-03-31 20:37:09 -06:00
Héctor Ramón
4e409bb383
Merge pull request #1669 from GyulyVGC/master
...
Added scrollable style `focused` to be displayed when mouse is over the scrollable area
2023-03-27 16:17:02 +02:00
Héctor Ramón Jiménez
dcccf7064d
Fix inconsistency in default implementation of scrollable::StyleSheet
2023-03-27 15:57:51 +02:00
Héctor Ramón Jiménez
c407b4504c
Introduce is_mouse_over_scrollbar to StyleSheet::hovered for Scrollable
2023-03-27 15:51:32 +02:00
Giuliano Bellini s294739
c337bf297d
renamed scrollable styles
2023-03-25 01:05:56 +01:00
Héctor Ramón
b74ff9f1ca
Merge pull request #1754 from nicksenger/optimization/component
...
[Optimization] Reduce unnecessary `Component` rebuilds
2023-03-23 12:00:37 +01:00