Kaiden42
|
7a626f3b7b
|
Change label of Toggler to optional
|
2021-06-03 20:21:55 +07:00 |
|
Kaiden42
|
52a185fbab
|
Implement Toggler widget for iced_native
|
2021-06-03 20:21:02 +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
|
0a14492343
|
Fix Tooltip widget
|
2021-06-01 19:13:52 +07:00 |
|
Ben LeFevre
|
fe0a27c56d
|
Add support for asymmetrical padding
|
2021-06-01 19:05:39 +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 |
|
Héctor Ramón
|
3840b75bea
|
Provide compatible_surface in iced_wgpu::Compositor
|
2021-05-05 14:33:30 +07:00 |
|
Héctor Ramón
|
59c2500c55
|
Fix Scrollable scrollbar being rendered behind contents
... by issuing a new clip layer just for the scrollbar itself.
|
2021-05-03 15:42:02 +07:00 |
|
Downtime
|
ca4257ff5c
|
Update frame.rs
|
2021-04-01 21:58:25 +08:00 |
|
Héctor Ramón
|
7eb5127748
|
Merge pull request #770 from hecrj/feature/clipboard-write
Write clipboard support and `TextInput` copy and cut behavior
|
2021-03-10 21:13:07 +01:00 |
|
Héctor Ramón Jiménez
|
21971e0037
|
Make Clipboard argument in Widget trait mutable
|
2021-03-10 01:59:02 +01:00 |
|
Héctor Ramón Jiménez
|
c51b771519
|
Reposition Tooltip inside viewport bounds
... only when out of bounds.
|
2021-02-27 03:47:13 +01:00 |
|
Héctor Ramón Jiménez
|
f52f8c1337
|
Fix viewport argument in PaneGrid draw calls
|
2021-02-27 03:36:46 +01:00 |
|
Héctor Ramón Jiménez
|
5e2743361b
|
Generate new layers only for clip primitives in Layer::generate
|
2021-02-23 04:02:55 +01:00 |
|
Héctor Ramón Jiménez
|
4e923290cc
|
Add style and padding to Tooltip
|
2021-02-23 04:00:35 +01:00 |
|
Héctor Ramón Jiménez
|
2f766b7341
|
Introduce Tooltip::gap to control spacing
|
2021-02-23 03:16:37 +01:00 |
|
Héctor Ramón Jiménez
|
81c75c1524
|
Change Tooltip to support Text only for now
|
2021-02-23 03:09:16 +01:00 |
|
Yusuf Bera Ertan
|
a19f89d3a6
|
feat(native): add Tooltip widget
|
2021-02-15 19:37:46 +03:00 |
|
Tanner Rogalsky
|
766bb7f5cc
|
Fix physical_width getter incorrectly returning the height
|
2021-01-14 10:38:12 -05:00 |
|
Héctor Ramón Jiménez
|
a7bb7bb2ea
|
Implement split highlight on hover for PaneGrid
|
2021-01-01 15:28:38 +01:00 |
|
Héctor Ramón
|
f8aef03456
|
Merge pull request #657 from clarkmoody/feature/pane-grid-title-contents
Generic Element Content in Pane Grid TitleBar
|
2020-12-22 14:58:39 +01:00 |
|
Héctor Ramón Jiménez
|
f2c2f3fc75
|
Remove unnecessary text::Renderer bound for PaneGrid
This is no longer necessary, as we do not render text directly anymore.
|
2020-12-22 14:44:44 +01:00 |
|
Héctor Ramón Jiménez
|
43ef85ae5c
|
Rename starting_cursor_pos to cursor_grabbed_at in image::Viewer
|
2020-12-18 11:20:18 +01:00 |
|
Héctor Ramón Jiménez
|
21b10dc103
|
Fix layout of image::Viewer
|
2020-12-18 10:44:24 +01:00 |
|
Héctor Ramón Jiménez
|
74ee7cca81
|
Format use declarations in image::viewer
|
2020-12-18 10:18:39 +01:00 |
|
Héctor Ramón Jiménez
|
0b73e5fbfa
|
Merge remote-tracking branch 'tarkah/image-pane' into image-pane
|
2020-12-18 10:15:30 +01:00 |
|
Clark Moody
|
f54590d7ad
|
Replace TitleBar string title with generic Content
|
2020-12-10 12:17:36 -06:00 |
|
Héctor Ramón Jiménez
|
745aa49025
|
Update example links to point to 0.2 branch
|
2020-11-26 16:37:33 +01:00 |
|
Héctor Ramón Jiménez
|
11798dcc03
|
Update graphs in crate docs
|
2020-11-26 07:22:03 +01:00 |
|
Héctor Ramón Jiménez
|
c23136a5df
|
Account for empty ranges in Slider and ProgressBar
|
2020-11-26 03:33:08 +01:00 |
|
rubik83
|
955b62ea2d
|
fix slider handle_offset formula
change :
let handle_offset = (bounds.width - handle_width) * ((value - range_start) / (range_end - range_start).max(1.0))
to :
let handle_offset = (bounds.width - handle_width) * ((value - range_start) / (range_end - range_start).max(f32::EPSILON)).max(0.0).min(1.0)
|
2020-11-26 03:09:46 +01:00 |
|
rubik83
|
9991a89428
|
fix active_progress_width formula
change :
let active_progress_width = bounds.width * ((value - range_start) / (range_end - range_start).max(1.0))
to :
let active_progress_width = bounds.width * ((value - range_start) / (range_end - range_start).max(f32::EPSILON)).max(0.0).min(1.0)
|
2020-11-26 03:09:46 +01:00 |
|
Héctor Ramón Jiménez
|
01322f69a4
|
Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
|
2020-11-26 02:05:43 +01:00 |
|
Héctor Ramón Jiménez
|
08e0b9ffbd
|
Fix broken links in API documentation
|
2020-11-26 01:59:20 +01:00 |
|
Héctor Ramón
|
556cf24b95
|
Merge pull request #627 from hecrj/fix/canvas-rotation
Fix backwards `Frame::rotate` in `canvas`
|
2020-11-24 00:17:46 +01:00 |
|
Héctor Ramón Jiménez
|
f41eacc3dc
|
Use f32 for border_width and border_radius
|
2020-11-23 00:31:50 +01:00 |
|
Héctor Ramón Jiménez
|
77c7ad1fef
|
Fix backwards Frame::rotate in canvas
The angle direction has been fixed upstream in `euclid` (see
https://github.com/servo/euclid/pull/413).
|
2020-11-22 11:05:08 +01:00 |
|
Héctor Ramón Jiménez
|
3296be845c
|
Implement QRCode widget
|
2020-11-20 10:29:33 +01:00 |
|
Héctor Ramón Jiménez
|
c03d46719e
|
Remove Focus in pane_grid
Since #608, the `PaneGrid` widget does not handle pane focus.
|
2020-11-17 06:13:56 +01:00 |
|
Héctor Ramón Jiménez
|
3aca177132
|
Implement event capturing for Canvas
|
2020-11-12 01:24:59 +01:00 |
|
Héctor Ramón Jiménez
|
3f968b8c87
|
Make Widget::on_event return an event::Status
|
2020-11-12 00:09:52 +01:00 |
|
Héctor Ramón
|
73811c394a
|
Merge pull request #610 from hecrj/improvement/update-dependencies
Update dependencies
|
2020-11-11 18:06:27 +01:00 |
|
Héctor Ramón Jiménez
|
45c749f28c
|
Update bytemuck dependency in iced_graphics
|
2020-11-10 20:11:23 +01:00 |
|
Héctor Ramón Jiménez
|
d6d5cf0294
|
Restore hotkeys in pane_grid example
- Implement `subscription::events_with`
- Remove `pane_grid::KeyPressEvent`
- Return closest sibling in `pane_grid::State::close`
|
2020-11-10 02:32:57 +01:00 |
|
Héctor Ramón Jiménez
|
fee46fd653
|
Introduce application::State in iced_winit
|
2020-11-05 04:09:40 +01:00 |
|
Héctor Ramón Jiménez
|
7f02765214
|
Draw only visible options in overlay::Menu
|
2020-10-28 06:21:07 +01:00 |
|
Héctor Ramón Jiménez
|
d328b07b39
|
Introduce viewport to Widget::draw
This should eventually allow us to only generate primitives that are
visible.
|
2020-10-28 06:21:07 +01:00 |
|
Clark Moody
|
f05578c8f8
|
Update scrollbar logic and introduce outer_bounds
|
2020-10-22 16:05:44 -05:00 |
|
Clark Moody
|
09e67c5c27
|
Replace hard-coded params with struct members
|
2020-10-22 14:07:07 -05:00 |
|
Héctor Ramón Jiménez
|
c1f79b40cf
|
Make Application and Sandbox return a Result
|
2020-09-08 00:44:59 +02:00 |
|