mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-13 20:41:34 +00:00
feat: clamp main view when debug view is off
This commit is contained in:
parent
244a2cfff1
commit
46dcbeaa9e
1 changed files with 209 additions and 206 deletions
|
@ -156,6 +156,8 @@ impl SimpleComponent for MainView {
|
||||||
set_hscrollbar_policy: gtk::PolicyType::Never,
|
set_hscrollbar_policy: gtk::PolicyType::Never,
|
||||||
set_hexpand: true,
|
set_hexpand: true,
|
||||||
set_vexpand: true,
|
set_vexpand: true,
|
||||||
|
adw::Clamp {
|
||||||
|
set_maximum_size: 600,
|
||||||
gtk::Box {
|
gtk::Box {
|
||||||
set_spacing: 12,
|
set_spacing: 12,
|
||||||
set_margin_all: 12,
|
set_margin_all: 12,
|
||||||
|
@ -377,6 +379,7 @@ impl SimpleComponent for MainView {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
add_bottom_bar: bottom_bar = >k::Box {
|
add_bottom_bar: bottom_bar = >k::Box {
|
||||||
set_orientation: gtk::Orientation::Horizontal,
|
set_orientation: gtk::Orientation::Horizontal,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue