Add default padding to Button
This commit is contained in:
parent
8957883a88
commit
1797e15b8c
3 changed files with 10 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ use iced_native::{
|
|||
};
|
||||
|
||||
impl iced_native::button::Renderer for Renderer {
|
||||
const DEFAULT_PADDING: u16 = 5;
|
||||
|
||||
type Style = Box<dyn StyleSheet>;
|
||||
|
||||
fn draw<Message>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue