feat(wrapper): remove redundant Wrapper component
This commit is contained in:
@@ -4,6 +4,5 @@ pub mod input;
|
||||
pub mod menu;
|
||||
pub mod pages;
|
||||
pub mod tabs;
|
||||
pub mod wrapper;
|
||||
|
||||
use crate::model::builder_traits;
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
use gtk4 as gtk;
|
||||
|
||||
use gtk::{Orientation, builders::BoxBuilder, Box};
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct Wrapper;
|
||||
|
||||
impl Wrapper{
|
||||
|
||||
pub fn row_builder() -> BoxBuilder {
|
||||
Box::builder().orientation(Orientation::Vertical)
|
||||
}
|
||||
|
||||
pub fn col_builder() -> BoxBuilder {
|
||||
Box::builder().orientation(Orientation::Horizontal)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user