Implement Empty widget
It can be useful if you want to fill some space with nothing.
This commit is contained in:
parent
7163e1d8b6
commit
8426bf953c
8 changed files with 191 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use iced::{
|
||||
button, scrollable, slider, text_input, Button, Checkbox, Color, Column,
|
||||
Container, Element, HorizontalAlignment, Image, Length, Radio, Row,
|
||||
Container, Element, Empty, HorizontalAlignment, Image, Length, Radio, Row,
|
||||
Sandbox, Scrollable, Settings, Slider, Text, TextInput,
|
||||
};
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ impl Sandbox for Tour {
|
|||
);
|
||||
}
|
||||
|
||||
controls = controls.push(Column::new());
|
||||
controls = controls.push(Empty::new().width(Length::Fill));
|
||||
|
||||
if steps.can_continue() {
|
||||
controls = controls.push(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue