feat: clamp main view when debug view is off

This commit is contained in:
Gabriele Musco 2023-10-08 13:31:01 +02:00
parent 244a2cfff1
commit 46dcbeaa9e
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -156,6 +156,8 @@ impl SimpleComponent for MainView {
set_hscrollbar_policy: gtk::PolicyType::Never,
set_hexpand: true,
set_vexpand: true,
adw::Clamp {
set_maximum_size: 600,
gtk::Box {
set_spacing: 12,
set_margin_all: 12,
@ -377,6 +379,7 @@ impl SimpleComponent for MainView {
},
},
}
}
},
add_bottom_bar: bottom_bar = &gtk::Box {
set_orientation: gtk::Orientation::Horizontal,