apply rustfmt

This commit is contained in:
yggverse 2024-09-20 18:02:10 +03:00
parent e6e81e846a
commit f8d938a8af
24 changed files with 253 additions and 611 deletions

View file

@ -1,33 +1,22 @@
#[path = "subject/title.rs"] mod title;
#[path = "subject/description.rs"] mod description;
#[path = "subject/description.rs"]
mod description;
#[path = "subject/title.rs"]
mod title;
use gtk::Box;
use gtk::prelude::BoxExt;
use gtk::Box;
pub fn new() -> Box
{
pub fn new() -> Box {
let subject = Box::builder()
// Tuneup
.orientation(
gtk::Orientation::Vertical
)
.valign(
gtk::Align::Center
)
.orientation(gtk::Orientation::Vertical)
.valign(gtk::Align::Center)
.build();
// Compose childs
subject.append(
&title::new()
);
subject.append(
&description::new()
);
// Compose childs
subject.append(&title::new());
subject.append(&description::new());
// Done
subject
}
}