closes #11
This commit is contained in:
parent
7442a14a8f
commit
d9941b38b5
10
src/main.rs
10
src/main.rs
@ -380,6 +380,12 @@ impl State {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn view(&self) -> Element<Message> {
|
fn view(&self) -> Element<Message> {
|
||||||
|
|
||||||
|
// TODO make this dynamic
|
||||||
|
// max height that the scripture body can be
|
||||||
|
// max height that the search resutls can be
|
||||||
|
let max_height = 600;
|
||||||
|
|
||||||
// Header bar, static, doesn't scroll
|
// Header bar, static, doesn't scroll
|
||||||
column![
|
column![
|
||||||
row![
|
row![
|
||||||
@ -460,6 +466,7 @@ impl State {
|
|||||||
)
|
)
|
||||||
.padding([5, 5])
|
.padding([5, 5])
|
||||||
)
|
)
|
||||||
|
.height(max_height)
|
||||||
.spacing(5),
|
.spacing(5),
|
||||||
// Scripture
|
// Scripture
|
||||||
scrollable(
|
scrollable(
|
||||||
@ -481,8 +488,7 @@ impl State {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
// TODO make this dynamic
|
.height(max_height)
|
||||||
.height(600)
|
|
||||||
.spacing(5)
|
.spacing(5)
|
||||||
],
|
],
|
||||||
// Notes
|
// Notes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user