[widgets][list] Set the style of the underlying list

This commit is contained in:
Florian Dehau 2018-04-01 10:34:15 +02:00
parent d0d2f88346
commit fcd1b7b187

View file

@ -235,6 +235,7 @@ impl<'b> Widget for SelectableList<'b> {
.skip(offset as usize);
List::new(items)
.block(self.block.unwrap_or_default())
.style(self.style)
.draw(area, buf);
}
}