Initial implementation of Expander widget
This commit is contained in:
parent
b092157f26
commit
5949eb8d89
4 changed files with 111 additions and 8 deletions
|
|
@ -321,14 +321,14 @@ where
|
|||
Renderer: iced_native::Renderer + 'a,
|
||||
Renderer::Theme: StyleSheet,
|
||||
{
|
||||
fn from(row: NavBar<'a, Message, Renderer>) -> Self {
|
||||
Self::new(row)
|
||||
fn from(navbar: NavBar<'a, Message, Renderer>) -> Self {
|
||||
Self::new(navbar)
|
||||
}
|
||||
}
|
||||
|
||||
/// Creates a [Row`] with the given children.
|
||||
/// Creates a [NavBar`] with the given children.
|
||||
///
|
||||
/// [`Row`]: widget::Row
|
||||
/// [`NavBar`]: widget::NavBar
|
||||
#[macro_export]
|
||||
macro_rules! navbar {
|
||||
($($x:expr),+ $(,)?) => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue