Code cleanup
This commit is contained in:
1 parent
1ad991667b
commit
f66bf69ef5
32 files changed
+234
-899
No files matched your search
+4
-7
@@ -39,13 +39,10 @@ macro_rules! jl_button {
|
||||
|
||||
pub fn back_overlay<'a, T: Clone + 'a>(content: Element<'a, T>, back_message: T) -> Element<'a, T> {
|
||||
container(
|
||||
iced::widget::column![
|
||||
jl_button!("Назад").on_press(back_message),
|
||||
content
|
||||
]
|
||||
.spacing(DEFAULT_SPACING)
|
||||
.align_x(Left)
|
||||
.width(Fill),
|
||||
iced::widget::column![jl_button!("Назад").on_press(back_message), content]
|
||||
.spacing(DEFAULT_SPACING)
|
||||
.align_x(Left)
|
||||
.width(Fill),
|
||||
)
|
||||
.center_x(Fill)
|
||||
.padding(10)
|
||||
|
||||
Reference in new issue
Block a user