Make iced_core::Button customizable
Now it supports: - Any kind of content - Custom border radius - Custom background
This commit is contained in:
parent
a0234d5bce
commit
10e10e5e06
35 changed files with 288 additions and 160 deletions
|
|
@ -2,7 +2,7 @@ use crate::{Primitive, Renderer};
|
|||
use iced_native::{image, Image, Layout, Node, Style};
|
||||
|
||||
impl image::Renderer<&str> for Renderer {
|
||||
fn node(&mut self, _image: &Image<&str>) -> Node {
|
||||
fn node(&self, _image: &Image<&str>) -> Node {
|
||||
Node::new(Style::default())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue