Increase feed after image
This commit is contained in:
parent
1b8f895680
commit
3cec866ba2
1 changed files with 3 additions and 1 deletions
|
|
@ -39,6 +39,8 @@ pub struct Drawer {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Drawer {
|
impl Drawer {
|
||||||
|
const FEED: f32 = 64.0;
|
||||||
|
|
||||||
pub fn new(rx: mpsc::Receiver<Command>, printer: Printer) -> Self {
|
pub fn new(rx: mpsc::Receiver<Command>, printer: Printer) -> Self {
|
||||||
Self {
|
Self {
|
||||||
rx,
|
rx,
|
||||||
|
|
@ -133,7 +135,7 @@ impl Drawer {
|
||||||
|
|
||||||
let root = Node::empty()
|
let root = Node::empty()
|
||||||
.with_size_width(percent(1.0))
|
.with_size_width(percent(1.0))
|
||||||
.with_padding_bottom(length(32.0))
|
.with_padding_bottom(length(Self::FEED))
|
||||||
.and_child(image)
|
.and_child(image)
|
||||||
.register(&mut tree)?;
|
.register(&mut tree)?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue