Implement theme styling for Container
This commit is contained in:
parent
2933ac7355
commit
97555e67af
24 changed files with 306 additions and 258 deletions
|
|
@ -14,6 +14,7 @@ pub fn container<'a, Message, Renderer>(
|
|||
) -> widget::Container<'a, Message, Renderer>
|
||||
where
|
||||
Renderer: iced_native::Renderer,
|
||||
Renderer::Theme: widget::container::StyleSheet,
|
||||
{
|
||||
widget::Container::new(content)
|
||||
}
|
||||
|
|
@ -70,6 +71,7 @@ pub fn tooltip<'a, Message, Renderer>(
|
|||
) -> widget::Tooltip<'a, Message, Renderer>
|
||||
where
|
||||
Renderer: iced_native::text::Renderer,
|
||||
Renderer::Theme: widget::container::StyleSheet,
|
||||
{
|
||||
widget::Tooltip::new(content, tooltip, position)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue