Initial port of the detailed event view
[lttv.git] / lttv / modules / gui / lttvwindow / lttvwindow / interface.c
index 4f12082164dea00c5b6fe1b25fbe47c6ac042ecd..9e55661fa2a47fe8d3b64639888d111bdec817dd 100644 (file)
@@ -142,8 +142,13 @@ create_MWindow (void)
   MWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
   gtk_widget_set_size_request (MWindow, 100, 50);
   gtk_window_set_title (GTK_WINDOW (MWindow), "Linux Trace Toolkit Viewer");
+  
+  /* making the window a size higher than 80% of the screen cause a gtk glitch 
+   * where the window is automaticly going fullscreen but the widgets stay 
+   * the normal size.
+   */
   gtk_window_set_default_size (GTK_WINDOW (MWindow),
-      gdk_screen_width()*0.9, gdk_screen_height()*0.9);
+                       gdk_screen_width()*0.8, gdk_screen_height()*0.8);
   gtk_window_set_icon(GTK_WINDOW(MWindow), create_pixbuf("lttng_logo.svg"));
   
   MVbox = gtk_vbox_new (FALSE, 0);
This page took 0.022402 seconds and 4 git commands to generate.