mirror of
https://github.com/fdehau/tui-rs.git
synced 2024-11-05 12:00:17 +00:00
[widgets][list] Set the style of the underlying list
This commit is contained in:
parent
d0d2f88346
commit
fcd1b7b187
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user