mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-12-18 14:06:30 +00:00
app: remove the maximize call
The maximize call blocks the resize on MacOS. Fixes #19
This commit is contained in:
parent
c1ae2c37b6
commit
1789bb0b25
1 changed files with 3 additions and 6 deletions
|
@ -105,12 +105,9 @@ impl GPSApp {
|
||||||
}));
|
}));
|
||||||
let settings = Settings::load_settings();
|
let settings = Settings::load_settings();
|
||||||
|
|
||||||
if settings.app_maximized {
|
|
||||||
app.window.maximize();
|
|
||||||
} else {
|
|
||||||
app.window
|
app.window
|
||||||
.set_size_request(settings.app_width, settings.app_height);
|
.set_size_request(settings.app_width, settings.app_height);
|
||||||
}
|
|
||||||
app.set_paned_position(&settings, "graph_dashboard-paned", 100);
|
app.set_paned_position(&settings, "graph_dashboard-paned", 100);
|
||||||
app.set_paned_position(&settings, "graph_logs-paned", 100);
|
app.set_paned_position(&settings, "graph_logs-paned", 100);
|
||||||
app.set_paned_position(&settings, "elements_preview-paned", 100);
|
app.set_paned_position(&settings, "elements_preview-paned", 100);
|
||||||
|
|
Loading…
Reference in a new issue