Updated Radio layout/fns to match Checkbox

This commit is contained in:
Scott Harper 2020-05-15 11:27:24 +09:00
parent 7565d294af
commit 863714602c
3 changed files with 66 additions and 19 deletions

View file

@ -7,9 +7,8 @@ const DOT_SIZE: f32 = SIZE / 2.0;
impl radio::Renderer for Renderer {
type Style = Box<dyn StyleSheet>;
fn default_size(&self) -> u32 {
SIZE as u32
}
const DEFAULT_SIZE: u16 = SIZE as u16;
const DEFAULT_SPACING: u16 = 15;
fn draw(
&mut self,