mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use canonical module subfolder tree
This commit is contained in:
parent
80783d2ae4
commit
8969899a2f
24 changed files with 0 additions and 23 deletions
20
src/browser/header/subject/mod.rs
Normal file
20
src/browser/header/subject/mod.rs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
mod description;
|
||||
mod title;
|
||||
|
||||
use gtk::prelude::BoxExt;
|
||||
use gtk::Box;
|
||||
|
||||
pub fn new() -> Box {
|
||||
let subject = Box::builder()
|
||||
// Tuneup
|
||||
.orientation(gtk::Orientation::Vertical)
|
||||
.valign(gtk::Align::Center)
|
||||
.build();
|
||||
|
||||
// Compose childs
|
||||
subject.append(&title::new());
|
||||
subject.append(&description::new());
|
||||
|
||||
// Done
|
||||
subject
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue