removing sizing constraints
This commit is contained in:
parent
fd40e5a884
commit
924ca10e1d
@ -44,7 +44,7 @@ WavePanel *ap_panel_add_line(UserData *ud, WavePanel *owp, int relpos)
|
||||
/* update a container to store the WavePanels */
|
||||
ap_panel_update_table(ud);
|
||||
|
||||
aw_panel_scrolled_set_size_request(ud);
|
||||
//aw_panel_scrolled_set_size_request(ud);
|
||||
return (WavePanel *) g_list_nth_data (ud->panelList, pos);
|
||||
}
|
||||
|
||||
@ -74,7 +74,7 @@ void ap_panel_remove_line( UserData *ud, WavePanel *wp)
|
||||
ap_panel_update_table(ud);
|
||||
|
||||
/* resize the window to minimum needed */
|
||||
aw_panel_scrolled_set_size_request(ud);
|
||||
//aw_panel_scrolled_set_size_request(ud);
|
||||
ap_all_redraw(ud);
|
||||
}
|
||||
|
||||
|
@ -101,11 +101,13 @@ ad_dnd_target_event (GtkWidget *widget, GdkDragContext *context,
|
||||
wp = ap_panel_add_line( ud, NULL, 0);
|
||||
msg_dbg(" adding visible wave to a newpanel");
|
||||
ap_panel_add_var(wp, dd->var, vw, NULL);
|
||||
pa_panel_set_selected( wp, wp->ud );
|
||||
break;
|
||||
case DND_PANEL :
|
||||
/* dest is drawing area */
|
||||
msg_dbg(" adding visible wave to panel");
|
||||
ap_panel_add_var( destdata->wp, dd->var, vw, NULL );
|
||||
pa_panel_set_selected( destdata->wp, destdata->wp->ud );
|
||||
break;
|
||||
case DND_DELETE_BUT :
|
||||
/* dest is toolbar delete wave button */
|
||||
|
Loading…
Reference in New Issue
Block a user