feat(native): add Tooltip widget
This commit is contained in:
parent
4de164dcc7
commit
a19f89d3a6
23 changed files with 580 additions and 18 deletions
|
|
@ -36,6 +36,7 @@ pub mod space;
|
|||
pub mod svg;
|
||||
pub mod text;
|
||||
pub mod text_input;
|
||||
pub mod tooltip;
|
||||
|
||||
#[doc(no_inline)]
|
||||
pub use button::Button;
|
||||
|
|
@ -71,6 +72,8 @@ pub use svg::Svg;
|
|||
pub use text::Text;
|
||||
#[doc(no_inline)]
|
||||
pub use text_input::TextInput;
|
||||
#[doc(no_inline)]
|
||||
pub use tooltip::Tooltip;
|
||||
|
||||
use crate::event::{self, Event};
|
||||
use crate::layout;
|
||||
|
|
@ -172,6 +175,8 @@ where
|
|||
fn overlay(
|
||||
&mut self,
|
||||
_layout: Layout<'_>,
|
||||
_overlay_content_bounds: Option<Rectangle>,
|
||||
_cursor_position: Point,
|
||||
) -> Option<overlay::Element<'_, Message, Renderer>> {
|
||||
None
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue