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

@ -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,