mirror of
https://gitlab.freedesktop.org/pipewire/helvum.git
synced 2026-05-08 17:28:18 +02:00
Make graphview scrollable
This commit is contained in:
parent
f1b66d9c53
commit
7f054890ed
1 changed files with 2 additions and 1 deletions
|
|
@ -32,12 +32,13 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
.expect("Application creation failed");
|
||||
|
||||
app.connect_activate(move |app| {
|
||||
let scrollwindow = gtk::ScrolledWindowBuilder::new().child(&*graphview.borrow()).build();
|
||||
let window = gtk::ApplicationWindowBuilder::new()
|
||||
.application(app)
|
||||
.default_width(1280)
|
||||
.default_height(720)
|
||||
.title("Pipewire Graph Editor")
|
||||
.child(&*graphview.borrow())
|
||||
.child(&scrollwindow)
|
||||
.build();
|
||||
window
|
||||
.get_settings()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue