Set default space-evenly to true
This commit is contained in:
parent
7a6ddcc566
commit
ca079d149d
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ fn build_gtk_box(bargs: &mut BuilderArgs) -> Result<gtk::Box> {
|
||||||
// @prop orientation - orientation of the box. possible values: $orientation
|
// @prop orientation - orientation of the box. possible values: $orientation
|
||||||
prop(orientation: as_string) { gtk_widget.set_orientation(parse_orientation(&orientation)?) },
|
prop(orientation: as_string) { gtk_widget.set_orientation(parse_orientation(&orientation)?) },
|
||||||
// @prop space-evenly - space the widgets evenly.
|
// @prop space-evenly - space the widgets evenly.
|
||||||
prop(space_evenly: as_bool = false) { gtk_widget.set_homogeneous(space_evenly) },
|
prop(space_evenly: as_bool = true) { gtk_widget.set_homogeneous(space_evenly) },
|
||||||
});
|
});
|
||||||
Ok(gtk_widget)
|
Ok(gtk_widget)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue