fix(examples-styling): fixed checkbox and toggler getting hidden behind scrollbar
Column inside scrollable is having Length::Fill so it is taking entire width thus hiding check box and toggler. Added fixed width to scrollable so Lenth::Fill will be relative to fixed width
This commit is contained in:
parent
3b0d1b1ed4
commit
3a44ad3c73
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ impl Sandbox for Styling {
|
||||||
column!["Scroll me!", vertical_space(800), "You did it!"]
|
column!["Scroll me!", vertical_space(800), "You did it!"]
|
||||||
.width(Length::Fill),
|
.width(Length::Fill),
|
||||||
)
|
)
|
||||||
|
.width(300)
|
||||||
.height(100);
|
.height(100);
|
||||||
|
|
||||||
let checkbox = checkbox(
|
let checkbox = checkbox(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue