merge stable version #2
|
@ -57,20 +57,10 @@ pub fn signal_reducing_page(wrapper: &Box) {
|
|||
})
|
||||
.collect();
|
||||
|
||||
let mut row_position = 0i32;
|
||||
|
||||
for (id, elem) in all_inputs.iter().enumerate() {
|
||||
if id % 3 == 0 {
|
||||
row_position += 1;
|
||||
}
|
||||
let row = id as i32 / 3;
|
||||
|
||||
input_block.attach(
|
||||
elem.clone().get(),
|
||||
(id as i32) - (3 * row_position),
|
||||
row_position,
|
||||
1,
|
||||
1,
|
||||
);
|
||||
input_block.attach(elem.get(), (id as i32) - (3 * row), row, 1, 1);
|
||||
}
|
||||
|
||||
let calculate_button = Button::builder().label("Расчитать").build();
|
||||
|
|
Loading…
Reference in New Issue