summaryrefslogtreecommitdiffstats
path: root/native/src/renderer/null.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-05-15 14:58:28 +0200
committerLibravatar GitHub <noreply@github.com>2020-05-15 14:58:28 +0200
commit33448508a524db6447b380cc236be6f0d5ca8a86 (patch)
tree357be3339543673c996eefddd62708ed3c607fb0 /native/src/renderer/null.rs
parente89e521e2b673b4bc65853b960535abb8b05edfc (diff)
parent175f5d71f487c6cb0ed41d560fd130ea7bdfa5c7 (diff)
downloadiced-33448508a524db6447b380cc236be6f0d5ca8a86.tar.gz
iced-33448508a524db6447b380cc236be6f0d5ca8a86.tar.bz2
iced-33448508a524db6447b380cc236be6f0d5ca8a86.zip
Merge pull request #345 from AberrantWolf/master
Update `Radio` to have the same layout members and fns as `Checkbox`
Diffstat (limited to 'native/src/renderer/null.rs')
-rw-r--r--native/src/renderer/null.rs5
1 files changed, 2 insertions, 3 deletions
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,