Updated example layout and values
This commit is contained in:
parent
de9e46d9c2
commit
52fe4920f2
1 changed files with 5 additions and 3 deletions
|
|
@ -135,15 +135,16 @@ impl Application for VertSpinnerApp {
|
||||||
100,
|
100,
|
||||||
self.i128_num,
|
self.i128_num,
|
||||||
-1000,
|
-1000,
|
||||||
i128::MAX,
|
500,
|
||||||
Direction::Horizontal,
|
Direction::Horizontal,
|
||||||
SpinBtnMessages::UpdateI128Num
|
SpinBtnMessages::UpdateI128Num
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
|
vertical_space().height(5),
|
||||||
row![
|
row![
|
||||||
spin_button(
|
spin_button(
|
||||||
"f32",
|
"f32",
|
||||||
1.5,
|
1.3,
|
||||||
self.f32_num,
|
self.f32_num,
|
||||||
-35.3,
|
-35.3,
|
||||||
12.3,
|
12.3,
|
||||||
|
|
@ -151,6 +152,7 @@ impl Application for VertSpinnerApp {
|
||||||
SpinBtnMessages::UpdateF32Num
|
SpinBtnMessages::UpdateF32Num
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
vertical_space().height(5),
|
||||||
row![
|
row![
|
||||||
spin_button(
|
spin_button(
|
||||||
"f64",
|
"f64",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue