Add default padding to Button

This commit is contained in:
Héctor Ramón Jiménez 2020-01-22 11:17:07 +01:00
parent 8957883a88
commit 1797e15b8c
3 changed files with 10 additions and 1 deletions

View file

@ -138,6 +138,8 @@ impl text_input::Renderer for Null {
}
impl button::Renderer for Null {
const DEFAULT_PADDING: u16 = 0;
type Style = ();
fn draw<Message>(