Updated Radio layout/fns to match Checkbox
This commit is contained in:
parent
7565d294af
commit
863714602c
3 changed files with 66 additions and 19 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue