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,30 +1,18 @@
#[path = "label/pin.rs"] mod pin;
#[path = "label/title.rs"] mod title;
#[path = "label/pin.rs"]
mod pin;
#[path = "label/title.rs"]
mod title;
use gtk::Box;
use gtk::prelude::BoxExt;
use gtk::Box;
pub fn new() -> Box
{
pub fn new() -> Box {
let label = Box::builder()
// Tuneup
.orientation(
gtk::Orientation::Horizontal
)
.orientation(gtk::Orientation::Horizontal)
.build();
// Components
label.append(
&pin::new(
false
)
);
label.append(&pin::new(false));
label.append(&title::new());
label.append(
&title::new()
);
return label;
}
label
}