feat(wrapper): use pure Box component instead deleted Wrapper component
feat(wrapper): use pure Box component instead deleted Wrapper component
This commit is contained in:
@@ -3,7 +3,7 @@ use gtk4 as gtk;
|
||||
use crate::{
|
||||
model::builder_traits::Product,
|
||||
view::{
|
||||
components::{info_bar::InfoBar, input::Input, wrapper::*},
|
||||
components::{info_bar::InfoBar, input::Input},
|
||||
properties::*,
|
||||
},
|
||||
view_utils::{hamming_code_utils::start_hamming_algorithm, input_utils::clearing},
|
||||
@@ -47,13 +47,15 @@ pub fn hamming_code_page(wrapper: &Box) {
|
||||
|
||||
let crypt_mode_label = Label::builder().label("Режим: кодирование").build();
|
||||
|
||||
let crypt_mode_wrapper = Wrapper::col_builder()
|
||||
let crypt_mode_wrapper = Box::builder()
|
||||
.orientation(Orientation::Horizontal)
|
||||
.set_align(Alignment::new(Align::Fill, Align::Center))
|
||||
.hexpand(true)
|
||||
.spacing(10)
|
||||
.build();
|
||||
|
||||
let action_components_wrapper = Wrapper::col_builder()
|
||||
let action_components_wrapper = Box::builder()
|
||||
.orientation(Orientation::Horizontal)
|
||||
.set_align(Alignment::new(Align::Fill, Align::Fill))
|
||||
.set_margin(MarginData::MultipleMargin((0, 5, 0, 5)))
|
||||
.spacing(10)
|
||||
|
||||
Reference in New Issue
Block a user