Fix Widget::width for Checkbox

This commit is contained in:
Héctor Ramón Jiménez 2019-12-14 07:09:37 +01:00
parent 3daa9c2cc8
commit 5185d6a0f3

View File

@ -80,7 +80,7 @@ where
Renderer: self::Renderer + text::Renderer + row::Renderer,
{
fn width(&self) -> Length {
Length::Shrink
self.width
}
fn height(&self) -> Length {