Commit 8a558e96 authored by Claes Sjofors's avatar Claes Sjofors

Wb fix for shrinking wizard on LXDE desktop

parent 64627409
...@@ -228,7 +228,8 @@ void WGeGtk::set_size( int width, int height) ...@@ -228,7 +228,8 @@ void WGeGtk::set_size( int width, int height)
gtk_window_resize( GTK_WINDOW(toplevel), default_width, default_height); gtk_window_resize( GTK_WINDOW(toplevel), default_width, default_height);
geometry.min_aspect = geometry.max_aspect = gdouble(default_width)/default_height; geometry.min_aspect = gdouble(default_width)/default_height;
geometry.max_aspect = gdouble(default_width)/default_height * 1.02;
gtk_window_set_geometry_hints( GTK_WINDOW(toplevel), GTK_WIDGET(toplevel), gtk_window_set_geometry_hints( GTK_WINDOW(toplevel), GTK_WIDGET(toplevel),
&geometry, GDK_HINT_ASPECT); &geometry, GDK_HINT_ASPECT);
...@@ -292,7 +293,8 @@ WGeGtk::WGeGtk( GtkWidget *wge_parent_wid, void *wge_parent_ctx, char *wge_name, ...@@ -292,7 +293,8 @@ WGeGtk::WGeGtk( GtkWidget *wge_parent_wid, void *wge_parent_ctx, char *wge_name,
CoWowGtk::SetWindowIcon( toplevel); CoWowGtk::SetWindowIcon( toplevel);
geometry.min_aspect = geometry.max_aspect = gdouble(window_width)/window_height; geometry.min_aspect = gdouble(window_width)/window_height;
geometry.max_aspect = gdouble(window_width)/window_height * 1.02;
gtk_window_set_geometry_hints( GTK_WINDOW(toplevel), GTK_WIDGET(toplevel), gtk_window_set_geometry_hints( GTK_WINDOW(toplevel), GTK_WIDGET(toplevel),
&geometry, GDK_HINT_ASPECT); &geometry, GDK_HINT_ASPECT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment