From 863714602c1c0703e7872ecc014fc4a0aa33ecc4 Mon Sep 17 00:00:00 2001 From: Scott Harper Date: Fri, 15 May 2020 11:27:24 +0900 Subject: Updated `Radio` layout/fns to match `Checkbox` --- native/src/renderer/null.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'native/src/renderer') diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs index 2c7babdb..19689d30 100644 --- a/native/src/renderer/null.rs +++ b/native/src/renderer/null.rs @@ -161,9 +161,8 @@ impl button::Renderer for Null { impl radio::Renderer for Null { type Style = (); - fn default_size(&self) -> u32 { - 20 - } + const DEFAULT_SIZE: u16 = 20; + const DEFAULT_SPACING: u16 = 15; fn draw( &mut self, -- cgit