summaryrefslogtreecommitdiffstats
path: root/native/src/widget (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: add placeholders to pick_listLibravatar Jon Pacheco2021-07-221-3/+29
| | | | see issue #726
* Merge pull request #885 from Chiheisen/masterLibravatar Héctor Ramón2021-07-221-7/+18
|\ | | | | image viewer: Only calculate viewport based width/length for Length::Unit|Shrink
| * viewer: Don't calculate viewport on Fill|PortionLibravatar chiheisen2021-05-171-7/+18
| | | | | | | | | | | | Currently image::viewer will not expand it's image into empty space even when Length::Fill or Length::FillPortion are used. Only calculate viewport when viewer cannot expand.
* | Merge pull request #945 from derezzedex/menuLibravatar Héctor Ramón2021-07-201-22/+13
|\ \ | | | | | | feat: add menus
| * | Use `bitflags` for `keyboard::Modifiers`Libravatar Héctor Ramón Jiménez2021-07-121-22/+13
| | |
* | | Remove unnecesary use of `Option::unwrap`Libravatar Héctor Ramón Jiménez2021-07-151-3/+3
| | | | | | | | | | | | ... in `overlay` implementation for `pane_grid::TitleBar`
* | | Fix implementation of `Widget::overlay` for `pane_grid::TitleBar`Libravatar Héctor Ramón Jiménez2021-07-151-1/+17
|/ /
* | Merge pull request #915 from yusdacra/docs/update-linksLibravatar Héctor Ramón2021-06-221-1/+1
|\ \ | | | | | | docs: update all 0.2 github links to 0.3
| * | docs: update all 0.2 github links to 0.3Libravatar Yusuf Bera Ertan2021-06-141-1/+1
| | |
* | | Use `match` statement in `Content::overlay`Libravatar Héctor Ramón Jiménez2021-06-221-5/+4
| | | | | | | | | | | | ... to improve readability a bit.
* | | Allow overlay from pane grid title barLibravatar Clark Moody2021-06-172-8/+16
|/ /
* | Update disabled example of `Button` in docsLibravatar Héctor Ramón2021-06-101-8/+14
| |
* | Fix failing doctestsLibravatar Jonas Matser2021-06-101-1/+11
| |
* | Adds doc comment for disabled buttonLibravatar Jonas Matser2021-06-101-0/+8
| | | | | | | | Makes disabled button behavior consistent in web
* | Introduce `on_scroll` event in `Scrollable`Libravatar Héctor Ramón2021-06-041-1/+47
| |
* | Introduce `snap_to` and `unsnap` to `scrollable::State`Libravatar Héctor Ramón2021-06-041-184/+139
| |
* | feat(native): Make scrollable programmatically scrollable for some use ↵Libravatar Yusuf Bera Ertan2021-06-041-90/+181
| | | | | | | | cases, add snap_to_bottom by default
* | Use intra-doc links in `Toggler` docsLibravatar Héctor Ramón2021-06-031-23/+0
| |
* | Rename `text_align` to `text_alignment` in `Toggler`Libravatar Héctor Ramón2021-06-031-8/+6
| |
* | Update documentation of `Toggler`Libravatar Kaiden422021-06-031-1/+1
| |
* | Change label of `Toggler` to optionalLibravatar Kaiden422021-06-031-29/+45
| |
* | Add alignment of `Toggler` label.Libravatar Kaiden422021-06-031-1/+25
| |
* | fix missing semicolon in doc testLibravatar Kaiden422021-06-031-1/+1
| |
* | Implement `Toggler` widget for iced_nativeLibravatar Kaiden422021-06-031-0/+262
| |
* | Replace ignored doc-tests with additional documentation for `Padding`Libravatar Héctor Ramón2021-06-018-40/+0
| |
* | Add support for asymmetrical paddingLibravatar Ben LeFevre2021-06-018-69/+124
| |
* | Enable event handling within the title elementsLibravatar Clark Moody2021-05-241-10/+23
| | | | | | | | | | Shrink the pick area to avoid both the controls and the title elements. Handle events and merge title area event status with control events.
* | Merge branch 'hecrj:master' into upgrade-wgpuLibravatar Aaron Housh2021-05-193-9/+33
|\ \
| * | fix pick_list layouting not respecting fontsLibravatar chiheisen2021-05-181-1/+1
| |/
| * Added text color and font options for native radio and checkbox (#831)Libravatar zdevwu2021-05-172-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * text color and font options to radio * code formatting * code formatting * code formatting * Added text_color for native checkbox * Removed clone as color has Copy * Fix code formatting with `cargo fmt` Co-authored-by: Héctor Ramón <hector@lich.io>
* | Fix formatting with `cargo fmt`Libravatar Héctor Ramón2021-05-191-5/+4
| |
* | Run cargo fmtLibravatar Dispersia2021-04-123-8/+9
|/
* Overwrite `overlay` method in Widget implementation for Button (#764)Libravatar Nicolas Levy2021-03-141-0/+8
| | | | | | | * Overwrite `overlay` method in Widget implementation for Button * Overwrite `overlay` method in Widget implementation for Button (cargo fmt) * Fix button overlay
* Merge pull request #770 from hecrj/feature/clipboard-writeLibravatar Héctor Ramón2021-03-1017-79/+130
|\ | | | | Write clipboard support and `TextInput` copy and cut behavior
| * Implement copy and cut behavior for `TextInput`Libravatar Héctor Ramón Jiménez2021-03-101-0/+40
| |
| * Make `Clipboard` argument in `Widget` trait mutableLibravatar Héctor Ramón Jiménez2021-03-1017-79/+90
| |
| * Update `window_clipboard` to `0.2`Libravatar Héctor Ramón Jiménez2021-03-101-1/+1
| |
* | Merge pull request #771 from hecrj/fix/tooltip-layeringLibravatar Héctor Ramón2021-03-103-3/+12
|\ \ | |/ |/| Reposition `Tooltip` inside `viewport` bounds
| * Fix `viewport` argument in `PaneGrid` draw callsLibravatar Héctor Ramón Jiménez2021-02-273-3/+12
| |
* | Call `hash_layout` for `controls` in `pane_grid::TitleBar`Libravatar Héctor Ramón Jiménez2021-03-091-0/+4
|/
* Hide `Text` as an implementation detail of `Tooltip`Libravatar Héctor Ramón Jiménez2021-02-241-8/+22
|
* Add `style` and `padding` to `Tooltip`Libravatar Héctor Ramón Jiménez2021-02-231-7/+33
|
* Introduce `Tooltip::gap` to control spacingLibravatar Héctor Ramón Jiménez2021-02-231-0/+10
|
* Change `Tooltip` to support `Text` only for nowLibravatar Héctor Ramón Jiménez2021-02-238-212/+33
|
* feat(native): add Tooltip widgetLibravatar Yusuf Bera Ertan2021-02-158-6/+345
|
* Touch support for `PaneGrid` and `PickList` (#650)Libravatar anunge2021-02-122-68/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * touch events properly parsed and converted to logical size, button working * scrolling with a nice touch * fixed application state level touch cursor. panel_grid is touchable now. * format glicthes fixes * format glitches * tight format * fixed pane grid * fixing with upstream * Remove unused `touch` module from `iced_core` * Remove unused `crate::text` import in `iced_native` * Remove redundant match branch in `iced_winit` * Keep removed line break in `UserInterface::update` * Compute `text_size` only when bounds contains cursor in `overlay::menu` Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
* Fix `Widget::width` implementation for `PickList`Libravatar Héctor Ramón Jiménez2021-01-151-1/+1
|
* Capture relevant events in `image::Viewer`Libravatar Héctor Ramón Jiménez2021-01-111-5/+15
|
* Use `BTreeMap` for splits and regions in `pane_grid`Libravatar Héctor Ramón Jiménez2021-01-074-12/+12
| | | | This preserves ordering between calls to update and draw logic.
* Implement split highlight on hover for `PaneGrid`Libravatar Héctor Ramón Jiménez2021-01-013-16/+61
|