as I've experienced a scrollbar again while having 7 interfaces, I've tried to add the number of interfaces to the height formula to fix this
svn path=/trunk/; revision=17960
This commit is contained in:
parent
6ee4c7c720
commit
ec5efe7370
|
@ -557,7 +557,8 @@ capture_if_cb(GtkWidget *w _U_, gpointer d _U_)
|
|||
}
|
||||
|
||||
gtk_widget_size_request(GTK_WIDGET(close_bt), &requisition);
|
||||
height += requisition.height + 27;
|
||||
/* height + static offset + what GTK-Wimp needs in addition per interface */
|
||||
height += requisition.height + 26 + ifs;
|
||||
gtk_window_set_default_size(GTK_WINDOW(cap_if_w), -1, height);
|
||||
|
||||
gtk_widget_grab_default(close_bt);
|
||||
|
|
Loading…
Reference in New Issue