feat: transparent button style
This commit is contained in:
parent
3850def414
commit
a8c753d429
4 changed files with 36 additions and 9 deletions
|
|
@ -14,7 +14,10 @@ use crate::{
|
|||
widget::icon,
|
||||
};
|
||||
|
||||
pub fn icon_button<'a, M: 'a, Renderer>(name: &str, icon_style: <Renderer::Theme as iced_native::svg::StyleSheet>::Style) -> Button<'a, M, Renderer>
|
||||
pub fn icon_button<'a, M: 'a, Renderer>(
|
||||
name: &str,
|
||||
icon_style: <Renderer::Theme as iced_native::svg::StyleSheet>::Style,
|
||||
) -> Button<'a, M, Renderer>
|
||||
where
|
||||
Renderer::Theme: iced_native::svg::StyleSheet + iced_style::button::StyleSheet,
|
||||
Renderer: iced_native::Renderer + iced_native::svg::Renderer + 'a,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue